/* Mimo's Custom Printing — cozy creative studio theme */

:root {
  --color-ivory: #faf6f0;
  --color-oatmeal: #ede6dc;
  --color-oatmeal-deep: #e2d8cc;
  --color-rose-soft: #e8d4d4;
  --color-rose-muted: #c9a9a6;
  --color-rose-deep: #8f4f57;
  --color-rose-hover: #7a4450;
  --color-brown: #3d2e28;
  --color-brown-muted: #6b5b54;
  --color-surface: #fffaf5;
  --color-warning-bg: #faf0df;
  --color-warning-border: #dcc08e;
  --color-error-bg: #f9e8e6;
  --color-error-border: #d4a09a;
  --color-success-bg: #edf3e8;
  --color-success-border: #a8c49a;
  --shadow-soft: 0 4px 20px rgba(61, 46, 40, 0.06);
  --shadow-lift: 0 10px 32px rgba(61, 46, 40, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 720px;
  --max-width-wide: 960px;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-brown);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 212, 212, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 40%, rgba(237, 230, 220, 0.5), transparent 55%),
    var(--color-ivory);
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
.logo,
.section-header h2,
.hero-card h2,
.contact-fallback h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-brown);
}

a {
  color: var(--color-rose-deep);
}

a:hover {
  color: var(--color-rose-hover);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--color-rose-deep);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2.5rem, var(--max-width-wide));
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-rose-deep);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 169, 166, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-brown);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo span {
  color: var(--color-rose-deep);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--color-brown-muted);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 0.35rem 0;
}

.site-nav a:hover {
  color: var(--color-rose-deep);
}

.nav-toggle {
  display: none;
  background: var(--color-oatmeal);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-weight: 500;
  color: var(--color-brown);
  cursor: pointer;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: none;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-primary {
  background: var(--color-rose-deep);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-rose-hover);
  color: #fff;
}

.btn-secondary {
  background: var(--color-oatmeal);
  color: var(--color-brown);
}

.btn-secondary:hover {
  background: var(--color-oatmeal-deep);
  color: var(--color-brown);
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Hero */

.hero {
  padding: 4rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.hero-badge {
  display: inline-block;
  background: var(--color-rose-soft);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-brown-muted);
  margin-bottom: 1.15rem;
}

.hero h1 {
  font-size: clamp(2.15rem, 5.5vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--color-brown-muted);
  margin: 0 0 1rem;
  max-width: 34rem;
}

#intro-text {
  margin: 0 0 2rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-card {
  background: var(--color-oatmeal);
  border-radius: var(--radius);
  padding: 1.75rem 1.85rem;
  box-shadow: var(--shadow-soft);
}

.hero-card h2 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--color-brown-muted);
}

.hero-card li + li {
  margin-top: 0.45rem;
}

/* Sections */

section {
  padding: 4rem 0;
  scroll-margin-top: 8rem;
}

.section-header {
  margin-bottom: 2.25rem;
  text-align: center;
}

.section-header h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}

.section-header p {
  margin: 0 auto;
  color: var(--color-brown-muted);
  max-width: 34rem;
}

#services .section-header {
  text-align: left;
  margin-inline: auto;
  max-width: var(--max-width);
}

#services .section-header p {
  margin-inline: 0;
}

/* Notice boxes */

.notice {
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  border: 1px solid;
}

.notice-warning {
  background: var(--color-warning-bg);
  border-color: var(--color-warning-border);
  color: var(--color-brown);
}

.notice-error {
  background: var(--color-error-bg);
  border-color: var(--color-error-border);
}

.notice-success {
  background: var(--color-success-bg);
  border-color: var(--color-success-border);
}

.notice[hidden] {
  display: none !important;
}

/* Cards & steps */

.steps {
  display: grid;
  gap: 1.25rem;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.5rem 1.65rem;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--color-brown-muted);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--color-rose-soft);
  color: var(--color-rose-deep);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

/* Gallery */

.section-gallery {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.gallery-grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: 1fr;
}

.gallery-item {
  margin: 0;
}

.gallery-frame {
  background: var(--color-oatmeal);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 22rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-frame img,
.gallery-placeholder {
  width: 100%;
  min-height: 22rem;
}

.gallery-frame img {
  height: auto;
  min-height: 22rem;
  max-height: 34rem;
  object-fit: contain;
  object-position: center;
  padding: 1.25rem;
  background: var(--color-oatmeal);
}

.gallery-placeholder {
  aspect-ratio: auto;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(165deg, var(--color-oatmeal-deep) 0%, var(--color-rose-soft) 100%);
  color: var(--color-brown-muted);
  font-size: 1rem;
}

.gallery-placeholder strong {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-brown);
  font-weight: 600;
}

.gallery-item figcaption {
  padding: 1rem 0.25rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-brown-muted);
  text-align: center;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(201, 169, 166, 0.35);
}

.faq-item {
  border-bottom: 1px solid rgba(201, 169, 166, 0.35);
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  padding: 1.15rem 0.25rem;
  font-weight: 600;
  list-style: none;
  color: var(--color-brown);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-rose-deep);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 0.25rem 1.15rem;
  color: var(--color-brown-muted);
}

/* Form */

#quote .section-header {
  text-align: left;
}

#quote .section-header p {
  margin-inline: 0;
}

.quote-layout {
  display: grid;
  gap: 2.25rem;
}

.quote-form {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.75rem 1.85rem;
  box-shadow: var(--shadow-lift);
}

.form-grid {
  display: grid;
  gap: 1.15rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-brown);
}

.form-field .hint,
.form-field .optional {
  font-weight: 400;
  color: var(--color-brown-muted);
  font-size: 0.92rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(201, 169, 166, 0.45);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--color-ivory);
  color: var(--color-brown);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-rose-muted);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 169, 166, 0.25);
  background: #fff;
}

.form-field.invalid input,
.form-field.invalid textarea {
  border-color: #b85c55;
}

.field-error {
  color: #9a4540;
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  margin-top: 1.35rem;
}

.form-status {
  margin-top: 1rem;
}

.privacy-note {
  margin-top: 1.15rem;
  font-size: 0.92rem;
  color: var(--color-brown-muted);
  line-height: 1.55;
}

.contact-fallback {
  background: var(--color-oatmeal);
  border-radius: var(--radius);
  padding: 1.65rem 1.75rem;
  box-shadow: var(--shadow-soft);
}

.contact-fallback h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.contact-fallback p {
  margin: 0 0 0.65rem;
  color: var(--color-brown-muted);
}

.contact-fallback p:last-child {
  margin-bottom: 0;
}

/* Footer */

.site-footer {
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid rgba(201, 169, 166, 0.3);
  color: var(--color-brown-muted);
  font-size: 0.95rem;
  text-align: center;
}

.site-footer p {
  margin: 0.35rem 0;
}

.site-footer strong {
  color: var(--color-brown);
  font-family: var(--font-heading);
  font-weight: 600;
}

/* Responsive */

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.25fr 0.95fr;
    gap: 3rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2.25rem;
  }

  .gallery-frame,
  .gallery-frame img,
  .gallery-placeholder {
    min-height: 26rem;
  }

  .quote-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .gallery-frame,
  .gallery-frame img,
  .gallery-placeholder {
    min-height: 30rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.is-open {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 0.5rem 0 0.75rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
