/* Toteally Yours Studio — Modern static site */

:root {
  --red: #C41E3A;
  --red-dark: #9B1830;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --black: #0A0A0A;
  --gray: #5C5C5C;
  --gray-light: #E8E4DE;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(10, 10, 10, 0.08);
  --shadow-lg: 0 12px 48px rgba(10, 10, 10, 0.12);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --transition: 0.25s ease;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--black);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main {
  overflow-x: hidden;
}

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

a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover {
  color: var(--red-dark);
}

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.narrow {
  width: min(680px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-subtitle {
  color: var(--gray);
  margin-bottom: 2rem;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo-link {
  text-decoration: none;
  flex-shrink: 0;
}

.logo {
  height: 48px;
  width: auto;
  background: transparent;
}

.site-nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
}

.site-nav a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.site-nav a:hover {
  color: var(--red);
}

/* Carousel (shared) */
.carousel {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
}

/* Hero */
.hero {
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 4rem);
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

.hero-media {
  min-width: 0;
}

.hero-content {
  text-align: center;
}

.hero-logo {
  display: block;
  margin: 0 auto 1.5rem;
  max-width: min(280px, 75vw);
  background: transparent;
}

.hero-content h1 {
  margin-bottom: 1rem;
}

.hero-content p {
  margin-bottom: 1rem;
}

.hero-content .lead {
  font-size: 1.2rem;
  color: var(--gray);
}

.hero-carousel {
  max-width: 100%;
}

.hero-carousel .carousel-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 clamp(2.5rem, 6vw, 3.5rem);
}

.hero-slide-frame {
  margin: 0;
  width: min(88vw, 420px);
  max-height: min(68vh, 640px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--black);
  line-height: 0;
}

.hero-carousel .carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(68vh, 640px);
  object-fit: contain;
  object-position: center center;
}

.hero-carousel .carousel-btn {
  background: rgba(255, 255, 255, 0.95);
}

.hero-carousel .carousel-prev {
  left: 0.25rem;
}

.hero-carousel .carousel-next {
  right: 0.25rem;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
  }

  .hero-content {
    text-align: left;
    padding-right: clamp(0.5rem, 2vw, 1.5rem);
  }

  .hero-logo {
    margin: 0 0 1.5rem;
    max-width: 300px;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
  }

  .hero-slide-frame {
    width: 100%;
    max-width: 440px;
    max-height: min(78vh, 720px);
    margin-inline: auto;
  }

  .hero-carousel .carousel-slide img {
    max-height: min(78vh, 720px);
  }

  .hero-carousel .carousel-slide {
    padding: 0 2.75rem;
  }
}

@media (min-width: 1200px) {
  .hero-slide-frame {
    max-width: 480px;
    max-height: min(82vh, 760px);
  }

  .hero-carousel .carousel-slide img {
    max-height: min(82vh, 760px);
  }

  .hero-logo {
    max-width: 340px;
  }
}

.gallery-carousel {
  padding: 0 1rem;
  overflow: hidden;
}

.gallery-carousel .carousel-track {
  gap: 1rem;
}

.gallery-slide {
  flex: 0 0 min(320px, 80vw);
}

.gallery-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 819 / 1024;
  object-fit: contain;
  object-position: center center;
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--black);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.05);
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--gray-light);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.carousel-dot.active {
  background: var(--red);
  transform: scale(1.25);
}

.lead {
  font-size: 1.2rem;
  color: var(--gray);
}

.hours-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--red);
  box-shadow: var(--shadow);
  text-align: left;
}

.hours-notice p {
  margin: 0;
  font-size: 0.975rem;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Gallery section */
.gallery-section {
  background: var(--white);
  overflow: hidden;
}

.gallery-section h2,
.gallery-section .section-subtitle {
  text-align: center;
}

.gallery-section .container {
  margin-bottom: 1.5rem;
}

/* FAQ */
.faq-section {
  background: var(--cream-dark);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.125rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--red);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--red);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  margin: 0;
  color: var(--gray);
  font-size: 0.975rem;
}

/* Contact */
.contact-section {
  background: var(--black);
  color: var(--cream);
}

.contact-section h2 {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.contact-lead {
  color: var(--gray-light);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  color: var(--black);
  transition: border-color var(--transition);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--red);
}

.newsletter-form button {
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.newsletter-form button:hover {
  background: var(--red-dark);
}

.newsletter-form button:active {
  transform: scale(0.98);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-status.success {
  color: #6EE7A0;
}

.form-status.error {
  color: #FCA5A5;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.contact-link .icon {
  width: 1.375rem;
  height: 1.375rem;
}

/* Footer */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 55%, #fff 100%);
  color: var(--black);
  border-top: 4px solid var(--red);
  padding: 0 0 2rem;
  overflow: hidden;
}

.footer-deco {
  padding: 1.25rem 0 0.5rem;
}

.footer-patches {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  max-width: 420px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-patch {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 0.3rem;
  border: 2px solid rgba(10, 10, 10, 0.12);
  box-shadow: 0 2px 0 rgba(10, 10, 10, 0.06);
}

.footer-patch:nth-child(1) {
  background: var(--red);
  transform: rotate(-8deg);
}

.footer-patch:nth-child(2) {
  background: #1e3a5f;
  transform: rotate(6deg);
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
}

.footer-patch:nth-child(3) {
  background: #f4d03f;
  transform: rotate(-4deg);
}

.footer-patch:nth-child(4) {
  background: var(--white);
  transform: rotate(10deg);
}

.footer-patch:nth-child(5) {
  background: #2ecc71;
  transform: rotate(-12deg);
  border-radius: 50%;
  width: 0.875rem;
  height: 0.875rem;
}

.footer-patch:nth-child(6) {
  background: var(--red-dark);
  transform: rotate(5deg);
}

.footer-patch:nth-child(7) {
  background: #5dade2;
  transform: rotate(-6deg);
}

.footer-wrap {
  padding-top: 0.5rem;
}

.footer-location {
  margin: 0 0 2rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: start;
}

.footer-brand img {
  margin-bottom: 0.5rem;
  background: transparent;
  max-width: 180px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--gray);
  margin: 0;
  font-weight: 500;
}

.footer-info address {
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.footer-founded {
  font-size: 0.875rem;
  color: var(--gray);
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.footer-links a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.footer-sendoff {
  grid-column: 1 / -1;
  margin: 2.5rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px dashed rgba(196, 30, 58, 0.25);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--gray);
  text-align: center;
  font-style: italic;
}

.footer-copy {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--gray);
  text-align: center;
}

@media (min-width: 900px) {
  .footer-sendoff {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Responsive */
@media (max-width: 640px) {
  .site-nav {
    gap: 0.75rem;
  }

  .site-nav a {
    font-size: 0.8125rem;
  }

  .logo {
    height: 40px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .carousel-prev {
    left: 0.5rem;
  }

  .carousel-next {
    right: 0.5rem;
  }
}

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

  .carousel-track {
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
