/* thanks.dad-look.com - Thanksgiving: cream linen, pumpkin, cranberry, a long table */
body { margin: 0; background: #fbf3e4; color: #3b2416; font-family: Helvetica, Arial, sans-serif; overflow-x: clip; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #9b1d2a; outline-offset: 3px; }
.tg-small { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: #7a5a44; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }

/* Falling leaves, decoration only */
.tg-leaves { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.tg-leaves span { position: absolute; top: -40px; left: calc(var(--i) * 8.5% + 2%); width: 18px; height: 18px; border-radius: 0 70% 0 70%; background: #d9661f; opacity: 0; }
.tg-leaves span:nth-child(3n) { background: #e0a526; }
.tg-leaves span:nth-child(4n) { background: #9b1d2a; }

/* Hero */
.tg-hero { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; padding: 64px 24px 28px; text-align: center; }
.tg-kicker { margin: 0 0 12px; font-size: 13px; font-weight: 900; letter-spacing: 0.24em; text-transform: uppercase; color: #d9661f; }
.tg-hero h1 { margin: 0; font-size: clamp(32px, 5.4vw, 56px); line-height: 1.1; }
.tg-name { color: #9b1d2a; font-style: italic; }
.tg-sub { margin: 16px auto 0; max-width: 600px; font-size: 19px; line-height: 1.5; color: #7a5a44; }

.tg-page { position: relative; z-index: 1; max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.tg-page > section { padding: 40px 0; }
.tg-page h2 { margin: 0 0 12px; font-size: 30px; }

/* Note and form */
.tg-note-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: start; }
.tg-note { position: relative; padding: 34px 34px 30px 50px; background: #fffdf8; background-image: repeating-linear-gradient(#fffdf8 0 31px, #ecdcc4 31px 32px); border-radius: 4px; box-shadow: 0 16px 40px rgba(59, 36, 22, 0.14); --tilt: -1deg; transform: rotate(var(--tilt)); }
.tg-note::before { content: ""; position: absolute; top: 0; bottom: 0; left: 30px; width: 2px; background: #e8a3a3; }
.tg-note-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; color: #d9661f; }
.tg-note h2 { margin: 0 0 10px; font-style: italic; color: #9b1d2a; }
.tg-note p { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.7; }
.tg-sign span { font-size: 28px; font-style: italic; color: #9b1d2a; }
.tg-ps { font-size: 15px !important; color: #7a5a44; }
.tg-make > p { margin: 0 0 16px; font-size: 17px; line-height: 1.5; }
.tg-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.tg-form-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tg-form input { flex: 1; min-width: 0; min-height: 50px; padding: 0 14px; border: 2px solid #3b2416; border-radius: 8px; background: #fffdf8; font: inherit; font-size: 18px; }
.tg-button { min-height: 50px; padding: 0 22px; border: 0; border-radius: 8px; background: #9b1d2a; color: #ffffff; font-family: inherit; font-size: 15px; font-weight: 900; cursor: pointer; }
.tg-button:hover { background: #7d1521; }
.tg-button-ghost { background: none; border: 2px solid #3b2416; color: #3b2416; }
.tg-button-ghost:hover { background: #3b2416; color: #fbf3e4; }
.tg-button:disabled { cursor: default; opacity: 0.7; }
.tg-welcome { margin-top: 28px; padding-top: 22px; border-top: 1px dashed #d9bfa0; }

/* Table */
.tg-lede { margin: 0 0 20px; font-size: 17px; color: #7a5a44; }
.tg-table { padding: 26px; border-radius: 18px; background: #6b3f22; background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.06) 0 2px, transparent 2px 60px); box-shadow: inset 0 0 0 6px #4e2c17; }
.tg-cloth { position: relative; height: 120px; margin-bottom: 22px; border-radius: 10px; background: #f6ead2; background-image: repeating-linear-gradient(90deg, rgba(155, 29, 42, 0.12) 0 14px, transparent 14px 28px), repeating-linear-gradient(0deg, rgba(155, 29, 42, 0.12) 0 14px, transparent 14px 28px); }
.tg-dish { position: absolute; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.tg-dish-turkey { left: 50%; width: 120px; height: 84px; background: radial-gradient(ellipse at 45% 40%, #e9a35a 0%, #b8642a 55%, #7a3c14 100%); box-shadow: 0 0 0 10px #ffffff, 0 6px 14px rgba(0, 0, 0, 0.25); }
.tg-dish-pie { left: 20%; width: 76px; height: 76px; background: radial-gradient(circle, #e08a2c 0%, #d9661f 62%, #c99a5b 64%, #a8743a 100%); box-shadow: 0 0 0 6px #ffffff, 0 6px 14px rgba(0, 0, 0, 0.2); }
.tg-dish-book { left: 80%; width: 58px; height: 76px; border-radius: 3px; background: #161412; box-shadow: inset 6px 0 0 #2e2a25, 0 6px 14px rgba(0, 0, 0, 0.3); }
.tg-dish-book::after { content: ""; position: absolute; left: 14px; right: 10px; top: 24px; height: 18px; background: repeating-linear-gradient(#e0a526 0 3px, transparent 3px 7px); }
.tg-seats { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tg-seat { width: 100%; min-height: 128px; padding: 12px 8px; border: 2px solid transparent; border-radius: 12px; background: #fbf3e4; color: #3b2416; font-family: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.tg-seat:hover, .tg-seat[aria-expanded="true"] { border-color: #e0a526; }
.tg-seat b { font-size: 16px; }
.tg-seat small { font-size: 12px; color: #7a5a44; }
.tg-chair { width: 34px; height: 40px; margin-bottom: 4px; border-radius: 8px 8px 2px 2px; background: #9b1d2a; box-shadow: inset 0 -10px 0 #7d1521; }
.tg-seat.is-empty { background: rgba(251, 243, 228, 0.6); border-style: dashed; border-color: #e0a526; }
.tg-seat.is-empty .tg-chair { background: #e0a526; box-shadow: inset 0 -10px 0 #b8861b; }
.tg-seat-text { margin: 18px 0 0; min-height: 3em; padding: 14px 16px; border-radius: 10px; background: #fbf3e4; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.5; }
.tg-pass { margin-top: 24px; }
.tg-pass-label { margin: 0 0 10px; font-size: 14px; font-weight: 700; }
.tg-pass-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.tg-chip { min-height: 44px; padding: 0 16px; border: 2px solid #d9661f; border-radius: 999px; background: #fffdf8; color: #3b2416; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.tg-chip:hover { background: #d9661f; color: #ffffff; }
.tg-pass-text { margin: 14px 0 0; font-size: 17px; line-height: 1.5; font-weight: 700; color: #9b1d2a; min-height: 1.5em; }

/* List */
.tg-list ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: thank; }
.tg-list li { counter-increment: thank; position: relative; padding: 20px 20px 20px 64px; border-radius: 12px; background: #fffdf8; box-shadow: 0 6px 18px rgba(59, 36, 22, 0.08); display: flex; flex-direction: column; gap: 6px; }
.tg-list li::before { content: counter(thank); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: #d9661f; color: #ffffff; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.tg-list li:last-child { background: #9b1d2a; color: #ffffff; }
.tg-list li:last-child::before { background: #e0a526; color: #3b2416; }
.tg-list b { font-size: 18px; }
.tg-list span { font-size: 16px; line-height: 1.5; }

/* Bottom */
.tg-bottom { position: relative; z-index: 1; max-width: 1060px; margin: 0 auto; padding: 30px 24px 44px; display: flex; flex-direction: column; gap: 28px; }
.tg-cta { padding: 40px 24px; border-radius: 20px; background: #3b2416; color: #fbf3e4; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.tg-cta-kicker { margin: 0; font-size: 13px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: #e0a526; }
.tg-cta h2 { margin: 0; font-size: 38px; }
.tg-cta p { margin: 0; max-width: 580px; font-size: 17px; line-height: 1.5; color: #ecdcc4; }
.tg-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; width: 100%; max-width: 580px; min-height: 72px; padding: 18px 24px; border-radius: 999px; background: #d9661f; color: #ffffff; font-size: 20px; font-weight: 900; text-transform: uppercase; text-decoration: none; }
.tg-cta-button:hover { background: #bf5515; }
.tg-cta-arrow { display: inline-block; }
.tg-share { min-height: 48px; padding: 0 22px; border: 2px solid #fbf3e4; border-radius: 999px; background: none; color: #fbf3e4; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.tg-share:hover { background: #fbf3e4; color: #3b2416; }
.tg-status { margin: 0; font-size: 14px; font-weight: 700; color: #f2c97a; }
.tg-status:empty { display: none; }
.tg-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.5; color: #7a5a44; border-top: 1px solid #e3cfb2; padding-top: 14px; }

@media (max-width: 760px) {
	.tg-hero { padding: 44px 16px 20px; }
	.tg-page { padding: 0 16px; }
	.tg-page > section { padding: 30px 0; }
	.tg-note-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.tg-note { padding: 26px 20px 22px 40px; --tilt: 0deg; }
	.tg-note::before { left: 24px; }
	.tg-note p { font-size: 17px; }
	.tg-form .tg-button { width: 100%; }
	.tg-table { padding: 14px; }
	.tg-cloth { height: 96px; }
	.tg-dish-turkey { width: 90px; height: 62px; box-shadow: 0 0 0 7px #ffffff, 0 6px 14px rgba(0, 0, 0, 0.25); }
	.tg-dish-pie { width: 54px; height: 54px; left: 17%; }
	.tg-dish-book { width: 42px; height: 56px; left: 83%; }
	.tg-dish-book::after { left: 10px; right: 6px; top: 18px; height: 14px; }
	.tg-seats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tg-seats li:last-child { grid-column: 1 / -1; }
	.tg-seat { min-height: 110px; }
	.tg-list ol { grid-template-columns: minmax(0, 1fr); }
	.tg-bottom { padding: 24px 16px 36px; }
	.tg-cta h2 { font-size: 30px; }
	.tg-cta-button { font-size: 16px; min-height: 64px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.tg-leaves span { animation: tg-fall 14s linear infinite; animation-delay: calc(var(--i) * -1.3s); }
	.tg-leaves span:nth-child(2n) { animation-duration: 18s; }
	.js .tg-note { animation: tg-arrive 0.8s ease 0.2s both; }
	.tg-seat { transition: transform 0.15s ease, border-color 0.15s ease; }
	.tg-seat:hover { transform: translateY(-3px); }
	.tg-seat.is-empty .tg-chair { animation: tg-wait 2.4s ease-in-out infinite; }
	.tg-pass-text:not(:empty), .tg-seat-text.is-new { animation: tg-pop 0.35s ease both; }
	.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
	.js .reveal.is-visible { opacity: 1; transform: none; }
	.tg-cta-button { animation: tg-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease; }
	.tg-cta-button:hover { transform: scale(1.02); }
	.tg-cta-arrow { animation: tg-nudge 1.1s ease-in-out infinite; }
}

@keyframes tg-fall { 0% { opacity: 0; transform: translate(0, 0) rotate(0deg); } 10% { opacity: 0.35; } 90% { opacity: 0.35; } 100% { opacity: 0; transform: translate(60px, 110vh) rotate(540deg); } }
@keyframes tg-arrive { from { opacity: 0; transform: rotate(-4deg) translateY(30px); } to { opacity: 1; transform: rotate(var(--tilt)); } }
@keyframes tg-wait { 0%, 100% { transform: none; } 50% { transform: translateY(-4px); } }
@keyframes tg-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes tg-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(217, 102, 31, 0.5); } 50% { box-shadow: 0 0 0 12px rgba(217, 102, 31, 0); } }
@keyframes tg-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
