:root {
  --teal-950: #063f43;
  --teal-800: #0b5b60;
  --teal-600: #4c9e9c;
  --teal-300: #a9d6ce;
  --cream: #fbf5e8;
  --cream-deep: #efe2ca;
  --espresso: #3a261d;
  --gold: #c99a43;
  --coral: #d9795b;
  --white: #fffdf8;
  --shadow: 0 30px 80px rgba(8, 55, 57, 0.2);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { min-width: 320px; background: var(--cream); }

body {
  margin: 0;
  color: var(--espresso);
  background:
    radial-gradient(circle at 14% 12%, rgba(169, 214, 206, 0.55), transparent 30rem),
    radial-gradient(circle at 90% 86%, rgba(201, 154, 67, 0.2), transparent 32rem),
    var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 28px clamp(18px, 4vw, 64px) 40px;
}

.ambient {
  position: fixed;
  border: 1px solid rgba(11, 91, 96, 0.18);
  border-radius: 50%;
  pointer-events: none;
  animation: orbit 24s linear infinite;
}

.ambient::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  top: 16%;
  left: 12%;
  box-shadow: 0 0 0 8px rgba(201, 154, 67, 0.12);
}

.ambient-one { width: 420px; height: 420px; right: -240px; top: -140px; }
.ambient-two { width: 270px; height: 270px; left: -170px; bottom: -90px; animation-direction: reverse; }

.topbar {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--teal-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -1.5px;
  cursor: pointer;
  padding: 4px;
}

.wordmark:focus-visible, .star-button:focus-visible, .primary-button:focus-visible,
.back-button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.wordmark-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--cream);
  background: var(--teal-800);
  border-radius: 50% 50% 45% 55%;
  transform: rotate(-8deg);
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1;
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(6, 63, 67, 0.15);
  border-radius: 999px;
  color: var(--teal-950);
  background: rgba(255, 253, 248, 0.68);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.location-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(217, 121, 91, 0.14); }

.experience-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(440px, 1.12fr);
  width: min(1180px, 100%);
  min-height: 660px;
  margin: 0 auto;
  border: 1px solid rgba(6, 63, 67, 0.13);
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.photo-rail {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  background: var(--teal-950);
}

.photo-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(145deg, rgba(3, 47, 50, 0.1), rgba(3, 47, 50, 0.82));
}

.photo-rail::after {
  content: "HOUSTON  •  CAFÉ & CRÊPERIE  •  WESTHEIMER";
  position: absolute;
  z-index: 4;
  bottom: 30px;
  left: 32px;
  right: 32px;
  color: var(--cream);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.5;
}

.food-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 8px solid rgba(255, 253, 248, 0.92);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
  animation: float 7s ease-in-out infinite;
}

.food-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-one { width: 73%; height: 43%; left: -5%; top: 8%; transform: rotate(-6deg); }
.photo-two { width: 72%; height: 36%; right: -15%; top: 37%; transform: rotate(6deg); animation-delay: -2.4s; }
.photo-three { width: 48%; height: 34%; left: 6%; bottom: 5%; transform: rotate(-3deg); animation-delay: -4.2s; }

.content-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 5vw, 70px);
  background:
    linear-gradient(rgba(255, 253, 248, 0.89), rgba(255, 253, 248, 0.89)),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(58, 38, 29, 0.035) 5px 6px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal-800);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.screen { animation: rise 420ms ease both; }
.screen h1 {
  max-width: 620px;
  margin: 0;
  color: var(--teal-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.screen-feedback h1 { font-size: clamp(38px, 5vw, 58px); }
.lede { max-width: 590px; margin: 22px 0 0; color: #6d594d; font-size: clamp(16px, 2vw, 19px); line-height: 1.65; }

.stars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 38px; }
.star-button {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 88px;
  border: 1px solid rgba(6, 63, 67, 0.16);
  border-radius: 18px;
  color: var(--gold);
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(7, 62, 65, 0.08);
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.star-button span { font-size: clamp(31px, 4.5vw, 45px); line-height: 1; }
.star-button small { position: absolute; bottom: 7px; color: #8f7b6c; font-size: 10px; font-weight: 800; }
.star-button:hover { transform: translateY(-6px) rotate(-1deg); color: #f0b644; border-color: var(--gold); background: #fff9e8; }

.rating-hints { display: flex; justify-content: space-between; margin-top: 12px; color: #8a776d; font-size: 12px; font-weight: 700; }
.microcopy { margin: 22px 0 0; color: #9a887c; font-size: 12px; }

.back-button { border: 0; background: transparent; color: var(--teal-800); cursor: pointer; padding: 0; margin-bottom: 16px; font-weight: 800; }
.chosen-rating { display: flex; gap: 5px; margin-bottom: 14px; color: #d5cbbb; }
.chosen-rating .filled { color: var(--gold); }

form { margin-top: 28px; }
label { display: block; margin-bottom: 8px; color: var(--teal-950); font-size: 13px; font-weight: 800; }
label span { color: #8e7c70; font-weight: 500; }
textarea, input {
  width: 100%;
  border: 1px solid rgba(6, 63, 67, 0.2);
  border-radius: 14px;
  color: var(--espresso);
  background: rgba(255,255,255,0.88);
  padding: 14px 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
textarea { min-height: 116px; resize: vertical; }
textarea:focus, input:focus { border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(76, 158, 156, 0.13); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin: 17px 0; color: #685549; font-weight: 600; line-height: 1.45; }
.check-row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--teal-800); }

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  color: var(--white);
  background: var(--teal-800);
  box-shadow: 0 12px 26px rgba(11, 91, 96, 0.22);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}
.primary-button:hover { background: var(--teal-950); transform: translateY(-2px); }
.primary-button:disabled { cursor: wait; opacity: 0.65; transform: none; }
.form-error { padding: 12px 14px; border-radius: 12px; color: #8e2f22; background: #fff0ec; font-size: 13px; line-height: 1.5; }

.status-screen { display: grid; justify-items: start; align-content: center; flex: 1; min-height: 390px; }
.status-icon { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 28px; border-radius: 50%; color: var(--white); background: var(--gold); font-size: 38px; box-shadow: 0 0 0 12px rgba(201, 154, 67, 0.13); animation: pulse 1.4s ease infinite; }
.status-icon.check { background: var(--teal-600); box-shadow: 0 0 0 12px rgba(76, 158, 156, 0.13); }
.status-screen .primary-button { margin-top: 28px; }

.card-footer { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 34px; color: #8c796c; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-rule { flex: 1; height: 1px; background: rgba(6, 63, 67, 0.13); }

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 50% { transform: scale(1.04); box-shadow: 0 0 0 18px rgba(201, 154, 67, 0.08); } }

@media (max-width: 880px) {
  .experience-card { grid-template-columns: 1fr; min-height: 0; }
  .photo-rail { min-height: 260px; }
  .photo-one { width: 48%; height: 78%; }
  .photo-two { width: 45%; height: 70%; top: 12%; right: 3%; }
  .photo-three { width: 30%; height: 54%; left: 36%; bottom: -14%; }
  .photo-rail::after { left: 24px; bottom: 18px; font-size: 10px; }
  .content-panel { min-height: 560px; }
}

@media (max-width: 560px) {
  .site-shell { padding: 18px 12px 24px; }
  .topbar { margin-bottom: 14px; }
  .wordmark { font-size: 26px; }
  .wordmark-mark { width: 30px; height: 30px; font-size: 23px; }
  .location-pill { font-size: 10px; padding: 8px 10px; }
  .experience-card { border-radius: 24px; }
  .photo-rail { min-height: 210px; }
  .food-photo { border-width: 5px; border-radius: 16px; }
  .content-panel { min-height: 520px; padding: 32px 22px 24px; }
  .screen h1 { font-size: 43px; }
  .screen-feedback h1 { font-size: 38px; }
  .lede { font-size: 16px; margin-top: 16px; }
  .stars { gap: 6px; margin-top: 28px; }
  .star-button { min-height: 72px; border-radius: 14px; }
  .star-button span { font-size: 29px; }
  .field-row { grid-template-columns: 1fr; }
  .primary-button { width: 100%; }
  .card-footer { flex-wrap: wrap; line-height: 1.5; }
  .footer-rule { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
