/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Tokens ── */
:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --secondary-bg: #f5f5f5;
  --muted: #737373;
  --border: #e5e5e5;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

/* ── Utilities ── */
.container { max-width: 72rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-tight { letter-spacing: -0.025em; }

/* ── Header / Nav ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; max-width: 72rem; margin: 0 auto;
}
.site-nav .logo { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.025em; }
.nav-links { display: none; align-items: center; gap: 2rem; font-size: 0.875rem; color: var(--muted); }
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  font-size: 0.875rem; border: 1px solid var(--fg); padding: 0.5rem 1rem;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--fg); color: var(--bg); }

/* ── Hero ── */
.hero { padding-top: 5rem; }
.hero-inner { padding: 5rem 0; }
.hero-grid { display: flex; flex-direction: column; gap: 3rem; }
.hero-text .eyebrow {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 1rem;
}
.hero-text h1 {
  font-size: 2.25rem; font-weight: 600; line-height: 1.15;
  letter-spacing: -0.025em; text-wrap: balance;
}
.hero-text .description {
  margin-top: 1.5rem; font-size: 1.125rem; color: var(--muted);
  line-height: 1.6; max-width: 28rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.btn-primary {
  font-size: 0.875rem; background: var(--fg); color: var(--bg);
  padding: 0.75rem 1.5rem; border: none; cursor: pointer;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }
.btn-secondary {
  font-size: 0.875rem; background: transparent; color: var(--fg);
  padding: 0.75rem 1.5rem; border: 1px solid var(--border); cursor: pointer;
  transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: var(--fg); }
.hero-image { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }

/* ── About ── */
.about { border-top: 1px solid var(--border); }
.about-inner { padding: 5rem 0; }
.about-grid { display: flex; flex-direction: column; gap: 3rem; }
.about-image { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.about-text .eyebrow {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 1rem;
}
.about-text h2 {
  font-size: 1.875rem; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance;
}
.about-text p {
  margin-top: 1.5rem; color: var(--muted); line-height: 1.6;
}
.about-text p + p { margin-top: 1rem; }

/* ── Collection ── */
.collection { border-top: 1px solid var(--border); background: var(--secondary-bg); }
.collection-inner { padding: 5rem 0; }
.collection-header { margin-bottom: 3.5rem; }
.collection-header .eyebrow {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 1rem;
}
.collection-header h2 { font-size: 1.875rem; font-weight: 600; letter-spacing: -0.025em; }
.collection-header .catalog-link {
  display: inline-block; margin-top: 1rem; font-size: 0.875rem; color: var(--muted);
  text-decoration: underline; text-underline-offset: 4px;
  transition: color 0.2s;
}
.collection-header .catalog-link:hover { color: var(--fg); }
.collection-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.product-card .product-image {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg);
}
.product-card .product-image img { transition: transform 0.5s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-card .product-name { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 500; }
.product-card .product-type { font-size: 0.875rem; color: var(--muted); }

/* ── Services ── */
.services { border-top: 1px solid var(--border); }
.services-inner { padding: 5rem 0; }
.services-header { margin-bottom: 3.5rem; }
.services-header .eyebrow {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 1rem;
}
.services-header h2 { font-size: 1.875rem; font-weight: 600; letter-spacing: -0.025em; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.service-item .number { font-size: 0.875rem; font-weight: 500; color: var(--muted); margin-bottom: 0.75rem; }
.service-item h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; }
.service-item p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ── Contact ── */
.contact { border-top: 1px solid var(--border); background: var(--fg); color: var(--bg); }
.contact-inner { padding: 5rem 0; }
.contact-grid { display: flex; flex-direction: column; gap: 4rem; }
.contact-info .eyebrow {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  opacity: 0.6; margin-bottom: 1rem;
}
.contact-info h2 {
  font-size: 1.875rem; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance;
}
.contact-info > p { margin-top: 1.5rem; opacity: 0.6; line-height: 1.6; }
.contact-details { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-details .detail-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  opacity: 0.4; margin-bottom: 0.25rem;
}
.contact-details a { transition: opacity 0.2s; }
.contact-details a:hover { opacity: 0.8; }

.contact-form { display: flex; align-items: center; }
.contact-form form { width: 100%; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form input,
.contact-form textarea {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 0.75rem; font-size: 0.875rem;
  color: var(--bg); font-family: var(--font);
  outline: none; transition: border-color 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--bg); opacity: 0.4; }
.contact-form input:focus,
.contact-form textarea:focus { border-bottom-color: rgba(255,255,255,0.6); }
.contact-form textarea { resize: none; min-height: 6rem; }
.contact-form .btn-submit {
  font-size: 0.875rem; background: var(--bg); color: var(--fg);
  padding: 0.75rem 1.5rem; border: none; cursor: pointer;
  font-family: var(--font); align-self: flex-start;
  transition: opacity 0.2s;
}
.contact-form .btn-submit:hover { opacity: 0.9; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--border); }
.footer-inner {
  padding: 2rem 1.5rem; max-width: 72rem; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem; font-size: 0.875rem; color: var(--muted);
}

/* ── Responsive (md: 768px+) ── */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .hero-text h1 { font-size: 3.75rem; }
  .hero-grid {
    flex-direction: row; align-items: center; gap: 3rem;
  }
  .hero-grid > * { flex: 1; }
  .about-inner { padding: 7rem 0; }
  .about-grid {
    flex-direction: row; align-items: center; gap: 4rem;
  }
  .about-grid > * { flex: 1; }
  .about-text h2 { font-size: 2.25rem; }
  .collection-inner { padding: 7rem 0; }
  .collection-header {
    display: flex; align-items: flex-end; justify-content: space-between;
  }
  .collection-header .catalog-link { margin-top: 0; }
  .collection-header h2 { font-size: 2.25rem; }
  .collection-grid { grid-template-columns: repeat(3, 1fr); }
  .services-inner { padding: 7rem 0; }
  .services-header h2 { font-size: 2.25rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-inner { padding: 7rem 0; }
  .contact-info h2 { font-size: 2.25rem; }
  .contact-grid { flex-direction: row; gap: 4rem; }
  .contact-grid > * { flex: 1; }
  .hero-inner { padding: 8rem 0; }
  .footer-inner { flex-direction: row; justify-content: space-between; }
}

/* ════════════════════════════════════════════════
   Added for the PHP site
   ════════════════════════════════════════════════ */

/* Message after the contact form is sent */
.form-note { font-size: 0.875rem; padding: 0.75rem 1rem; border: 1px solid rgba(255,255,255,0.3); }
.form-note.error { border-color: #e88; }

/* Hidden spam-trap field */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Order page ── */
.order-page { padding-top: 5rem; }
.order-inner { padding: 4rem 0 5rem; }
.order-head .eyebrow {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 1rem;
}
.order-head h1 { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.025em; }
.order-head p { margin-top: 1rem; color: var(--muted); max-width: 40rem; line-height: 1.6; }
.order-page h2 {
  font-size: 1.125rem; font-weight: 600; margin: 3.5rem 0 1.25rem;
  padding-bottom: 0.75rem; border-bottom: 1px solid var(--fg);
}

/* Products: 3 per row, then the next 3 below */
.order-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.order-card { border: 1px solid var(--border); background: var(--bg); }
.order-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.order-pics img {
  aspect-ratio: 1 / 1; height: auto; background: var(--secondary-bg);
  pointer-events: none; user-select: none;            /* no zoom, no clicking */
}
.order-pics img.single { grid-column: span 2; aspect-ratio: 4 / 3; object-fit: cover; background: #fff; }
.order-card .product-name { margin: 1rem 1rem 0; font-size: 1rem; font-weight: 600; }
.order-card .product-type { margin: 0 1rem 1rem; font-size: 0.875rem; color: var(--muted); }

.size-head {
  display: flex; justify-content: space-between; padding: 0.5rem 1rem;
  background: var(--secondary-bg); border-top: 1px solid var(--border);
  font-size: 0.7rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em;
}
/* sizes in 2 columns so 14 sizes stay compact */
.size-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); }
.size-cell {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.3rem 0.6rem 0.3rem 1rem; font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.size-cell:nth-child(odd) { border-right: 1px solid var(--border); }
.size-cell:nth-last-child(-n+2) { border-bottom: 0; }

.order-page input[type="text"], .order-page input[type="email"], .order-page input[type="tel"],
.order-page input[type="number"], .order-page textarea {
  width: 100%; padding: 0.6rem 0.75rem; font-family: var(--font); font-size: 0.9rem;
  color: var(--fg); background: var(--bg); border: 1px solid var(--border); border-radius: 0;
}
.order-page .size-table input[type="number"] { width: 4.5rem; text-align: right; padding: 0.3rem 0.5rem; }
.order-page input:focus, .order-page textarea:focus { outline: 1px solid var(--fg); border-color: var(--fg); }
.order-page textarea { min-height: 6rem; resize: vertical; }

.summary-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; border: 1px solid var(--border); }
.summary-table th, .summary-table td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--border); text-align: left; }
.summary-table th {
  background: var(--secondary-bg); font-weight: 500; color: var(--muted);
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
}
.summary-table th:last-child, .summary-table td:last-child { text-align: right; }
.summary-table tfoot td { font-weight: 600; border-bottom: 0; }
.summary-table .empty td { color: var(--muted); font-style: italic; }

.field-row { display: grid; grid-template-columns: 1fr; gap: 0 1.5rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.4rem; }
.field .req { color: #b42318; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400 !important; }
.check input { margin-top: 0.3rem; }

.order-errors { border: 1px solid #b42318; color: #b42318; padding: 1rem 1.25rem; margin-top: 2rem; font-size: 0.9rem; }
.order-fine { margin-top: 1rem; font-size: 0.8rem; color: var(--muted); }
.order-done { text-align: center; padding: 4rem 0; }
.order-done h1 { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.025em; }
.order-done p { margin: 1rem auto 2rem; color: var(--muted); max-width: 32rem; line-height: 1.6; }

@media (min-width: 600px) {
  .order-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .order-grid { grid-template-columns: repeat(3, 1fr); }
  .order-head h1 { font-size: 3rem; }
}

/* Keep side margins on phones (section padding was overriding them) */
.container.container { padding-left: 1.5rem; padding-right: 1.5rem; }
