:root {
  --ginger-100: #fff8e1;
  --ginger-300: #ffecb3;
  --ginger-500: #ffc107;
  --ginger-600: #ffb300;
  --ginger-800: #ff6f00;
  --ginger-900: #bf360c;
  --leaf-500: #4caf50;
  --leaf-700: #2e7d32;
  --stone-900: #1c1917;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-500: #78716c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  color: var(--stone-900);
  background-color: var(--ginger-100);
  background-image: radial-gradient(
      rgba(255, 193, 7, 0.28) 1px,
      transparent 1px
    ),
    linear-gradient(135deg, rgba(255, 193, 7, 0.18), rgba(255, 111, 0, 0.08));
  background-size: 24px 24px, cover;
}

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

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

.page {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 0;
}

.font-titan {
  font-family: 'Titan One', cursive;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  align-items: stretch;
  padding-bottom: 40px;
}

.col-12 {
  grid-column: span 12;
}

.bento-item {
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.1),
    0 2px 10px -2px rgba(0, 0, 0, 0.05);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.liquid-gloss::after {
  content: '';
  position: absolute;
  top: 5%;
  right: 5%;
  width: 40%;
  height: 25%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.1) 60%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: rotate(-15deg);
  filter: blur(4px);
  pointer-events: none;
  z-index: 2;
}

.text-stroke-title {
  -webkit-text-stroke: 1.5px var(--ginger-900);
  text-shadow: 3px 3px 0 var(--ginger-900);
}

.site-title {
  font-size: clamp(2.75rem, 6vw + 1rem, 5.5rem);
  line-height: 0.9;
  margin: 0;
}

.hero {
  background: var(--ginger-500);
  color: #fff;
  padding: 36px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-sparkle {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(45deg);
}

.hero-tagline {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ginger-900);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.story {
  padding: 24px;
  border: 1px solid var(--stone-200);
}

.story-year {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 52px;
  opacity: 0.12;
  color: var(--ginger-800);
}

.story-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.story-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ginger-500);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.story-title {
  margin: 0;
  font-size: 22px;
}

.story-subtitle {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ginger-800);
}

.story-quote {
  margin: 0;
  color: var(--stone-500);
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
}

.order {
  border: 2px solid var(--ginger-500);
  padding: 0;
}

.order-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--ginger-500);
  color: #fff;
}

.order-header h3 {
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.order-header i {
  margin-right: 8px;
}

.order-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.order-form {
  display: grid;
  gap: 24px;
  padding: 28px;
}

.order-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-block label {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ginger-900);
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #9ca3af;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 12px 14px 12px 44px;
  font-size: 14px;
  font-family: inherit;
  background: #f9fafb;
  color: var(--stone-900);
}

textarea {
  min-height: 110px;
  padding-left: 16px;
  resize: vertical;
}

.field-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 12px;
}

.field-grid input {
  padding-left: 16px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--ginger-500);
  background: #fff;
}

.form-hint {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--ginger-800);
  font-style: italic;
}

.form-hint i {
  margin-right: 6px;
}

.primary-button {
  margin-top: auto;
  border: none;
  border-radius: 16px;
  padding: 14px 18px;
  background: var(--stone-900);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.primary-button:hover {
  background: var(--ginger-600);
}

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

.overlay {
  position: absolute;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  gap: 12px;
}

.overlay h4 {
  margin: 0;
  font-size: 28px;
}

.overlay p {
  margin: 0;
  color: #4b5563;
  max-width: 320px;
}

.status-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.status-icon.success {
  background: #dcfce7;
  color: #16a34a;
}

.status-icon.error {
  background: #fee2e2;
  color: #dc2626;
}

.link-button {
  border: none;
  background: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ginger-800);
  cursor: pointer;
}

.visual {
  background: #111827;
  color: #fff;
}

.visual-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.8s ease;
}

.visual:hover .visual-image {
  transform: scale(1.05);
}

.visual-overlay {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 60%);
}

.visual-highlights {
  background: rgba(0, 0, 0, 0.45);
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.highlight-icon.bolt {
  background: rgba(234, 179, 8, 0.3);
  color: #fde68a;
}

.highlight-icon.fire {
  background: rgba(239, 68, 68, 0.3);
  color: #fecaca;
}

.highlight-icon.sun {
  background: rgba(251, 146, 60, 0.3);
  color: #fed7aa;
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 12px 0;
}

.visual h2 {
  margin: 0;
  font-size: 28px;
  text-transform: uppercase;
  font-style: italic;
}

.delivery {
  padding: 20px 24px;
  background: var(--leaf-700);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}

.delivery-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.delivery-content h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.delivery-content p {
  margin: 0;
  font-size: 14px;
  color: #dcfce7;
}

.delivery-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: #fff;
  color: var(--leaf-700);
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.gallery {
  padding: 40px 20px 60px;
}

.gallery h3 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.gallery-card {
  border-radius: 24px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.site-footer {
  margin-top: 40px;
  background: var(--stone-100);
  border-top: 1px solid var(--stone-200);
  padding: 48px 0 56px;
}

.footer-content {
  text-align: center;
  padding-top: 0;
}

.footer-content p {
  margin: 0 0 16px;
  color: #a8a29e;
  letter-spacing: 3px;
}

.footer-meta {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #78716c;
  display: grid;
  gap: 6px;
}

.hidden {
  display: none;
}

/* Anti-spam honeypot */
.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;
}

html {
  scroll-behavior: smooth;
}

@media (min-width: 900px) {
  .container {
    padding: 32px 24px 0;
  }

  .col-md-8 {
    grid-column: span 8;
  }

  .col-md-4 {
    grid-column: span 4;
  }

  .order-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

}
