/* ===== Corsa La Corsa — Minimal Quote Page ===== */

:root {
  --paper: #f5f1e6;
  --ink: #1a1712;
  --muted: #5c5648;
  --accent: #a4402f;
  --line: #1a1712;
  --font-display: 'Special Elite', 'Courier New', monospace;
  --font-body: 'Courier Prime', 'Courier New', monospace;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f0e9d8;
  background-image:
    repeating-linear-gradient(0deg, rgba(26,23,18,0.045) 0px, rgba(26,23,18,0.045) 1px, transparent 1px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(26,23,18,0.045) 0px, rgba(26,23,18,0.045) 1px, transparent 1px, transparent 3px);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== Main content ===== */

.minimal-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px 120px;
  max-width: 620px;
  margin: 0 auto;
}

.boat-icon {
  width: 40px;
  height: 40px;
  color: var(--ink);
  margin-bottom: 18px;
}

.boat-icon svg {
  width: 100%;
  height: 100%;
}

.boat-shape {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: sail-bob 1.6s ease-in-out infinite;
}

.bird-wings {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: wing-flap 0.6s ease-in-out infinite;
}

@keyframes sail-bob {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-2px) rotate(4deg); }
}

@keyframes wing-flap {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.35); }
}

@media (prefers-reduced-motion: reduce) {
  .boat-shape,
  .bird-wings {
    animation: none;
  }
}

.cursive-heading {
  margin: 0 0 22px;
  line-height: 0;
}

.cursive-heading svg {
  display: block;
  width: clamp(240px, 34vw, 440px);
  height: auto;
  overflow: visible;
  margin: 0 auto;
}

.coffee-sig-letter {
  fill: var(--ink);
  fill-opacity: 0;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.85;
  color: var(--ink);
  max-width: 480px;
  margin: 0 0 18px;
}

.quote-lead {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 480px;
  margin: 8px 0 30px;
}

/* ===== FlashQuotes embed — minimal, borderless container ===== */

.quote-embed {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

/* Best-effort styling in case the embed renders raw form elements
   rather than an isolated iframe, so it inherits the typewriter look. */
.quote-embed input,
.quote-embed select,
.quote-embed textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 8px 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
}

.quote-embed input:focus,
.quote-embed select:focus,
.quote-embed textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.quote-embed label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 8px;
}

.quote-embed button,
.quote-embed input[type="submit"] {
  display: inline-block;
  width: 100%;
  padding: 14px 28px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--paper);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.quote-embed button:hover,
.quote-embed input[type="submit"]:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
