/* Fonts: the only place typefaces are declared. Swap Pauline Script here if its web licence needs it. */
@font-face { font-family: "Pauline Script"; src: url("../assets/fonts/PaulineScript-Reg.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Pauline Script"; src: url("../assets/fonts/PaulineScript-Med.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Pauline Script"; src: url("../assets/fonts/PaulineScript-Bol.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../assets/fonts/PlusJakartaSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../assets/fonts/PlusJakartaSans-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../assets/fonts/PlusJakartaSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../assets/fonts/PlusJakartaSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --dark-roast: #1A1A1A;
  --lucky: #009C59;
  --blanco: #FFFFFF;
  --midas-grey: #666666;
  --lucky-deep: #007A46;   /* green text on white at small sizes (AA contrast) */
  --mint-wash: #EEF7F2;    /* faint green tint for quiet bands */
  --error: #B42318;

  --font-script: "Pauline Script", "Brush Script MT", cursive;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --step-3: clamp(2.4rem, 1.6rem + 3.2vw, 3.75rem);
  --step-4: clamp(3.6rem, 2rem + 7vw, 7.5rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1180px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--blanco);
  color: var(--dark-roast);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; max-width: 60ch; }
a { color: var(--lucky-deep); text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--lucky); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 20;
  background: var(--dark-roast); color: var(--blanco); padding: 0.6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.script-heading {
  font-family: var(--font-script);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: 1.05;
  color: var(--lucky);
  margin: 0 0 0.4em;
}

/* Buttons */
.button {
  display: inline-block;
  font: 600 var(--step-0) / 1 var(--font-body);
  text-decoration: none;
  color: var(--blanco);
  background: var(--lucky);
  border: 2px solid var(--lucky);
  padding: 1rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.button:hover { background: var(--lucky-deep); border-color: var(--lucky-deep); }
.button:active { transform: translateY(1px); }
.button--small { padding: 0.7rem 1.1rem; font-size: var(--step--1); }
.button--outline { background: transparent; color: var(--lucky-deep); }
.button--outline:hover { background: var(--lucky); color: var(--blanco); }
.text-link { font-weight: 600; color: var(--dark-roast); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.75rem var(--gutter);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}
.site-header__logo img { width: 110px; }
.site-header__nav { display: flex; gap: 1.5rem; margin-left: auto; }
.site-header__nav a { color: var(--dark-roast); text-decoration: none; font-weight: 500; font-size: var(--step--1); }
.site-header__nav a:hover { color: var(--lucky-deep); }
@media (max-width: 720px) {
  .site-header__nav { display: none; }
  .site-header .button { margin-left: auto; }
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter) clamp(3rem, 7vw, 6rem);
}
.hero::before {
  /* soft green glow behind the arch, like steam catching light */
  content: ""; position: absolute; z-index: -1;
  right: 0; top: 10%; width: min(640px, 70vw); aspect-ratio: 1;
  background: radial-gradient(circle, var(--mint-wash) 0%, rgba(238, 247, 242, 0) 68%);
}
.hero__title {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: var(--step-4);
  line-height: 0.95;
  margin: 0 0 0.35em;
}
.hero__line { display: block; }
.hero__line:nth-child(2) { padding-left: 0.6em; }
.hero__line:nth-child(3) { padding-left: 1.2em; color: var(--lucky); }
.hero__lede { font-size: var(--step-1); line-height: 1.5; max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; margin-top: 2rem; }
.hero__photo {
  margin: 0;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 6px solid var(--blanco);
  box-shadow: 0 0 0 2px var(--lucky);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual { position: relative; }

/* White circle behind a Midas drawing. The circle is a backdrop, never a clip, so the whole
   drawing shows; each pose's width was measured so its farthest stroke sits inside the circle. */
.midas-badge {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blanco);
}
.midas-badge--serve img { width: 79%; }
.midas-badge--sip img { width: 71%; }
.hero__midas {
  /* stands at the arch's bottom-left corner, stepping in from the text side */
  position: absolute;
  width: clamp(150px, 17vw, 220px);
  right: calc(100% - 3rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; justify-self: center; width: 100%; }
  /* Same white badge as the menu Midas, tucked onto the photo's bottom-right corner. */
  .hero__midas { right: -12px; bottom: -28px; width: 120px; }
}

/* Signature drink */
.signature {
  overflow-x: clip; /* the spinning ring's square box pokes past narrow screens while rotated */
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
}
.signature__seal { position: relative; width: clamp(260px, 34vw, 400px); aspect-ratio: 1; }
.signature__seal img {
  position: absolute; inset: 14%;
  width: 72%; height: 72%;
  border-radius: 50%; object-fit: cover; object-position: 50% 62%;
}
.signature__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.signature__ring text { font: 600 21px var(--font-body); letter-spacing: 0.06em; fill: var(--lucky); }
.signature__name { font-weight: 700; font-size: var(--step-2); line-height: 1.15; margin-bottom: 0.4em; }
.signature__desc { font-size: var(--step-1); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 720px) {
  .signature { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .signature__text p { margin-inline: auto; }
}

/* Menu: echoes the printed menu (heavy rules, big lowercase names) */
.menu {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
}
.menu__list {
  list-style: none; margin: 0; padding: 1.25rem 0;
  border-top: 4px solid var(--dark-roast);
  border-bottom: 4px solid var(--dark-roast);
}
.menu__list li {
  font-weight: 700;
  font-size: clamp(1.6rem, 1rem + 2.6vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.menu__iced { color: var(--lucky); }
.menu__note { margin: 0.75rem 0 2rem; font-weight: 600; font-size: var(--step--1); letter-spacing: 0.08em; }
.menu__pitch { font-size: var(--step-1); }
.menu__photo { position: relative; margin: 0; }
.menu__photo > img:first-child { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.menu__midas { position: absolute; width: 150px; left: -56px; bottom: -40px; }
@media (max-width: 820px) {
  .menu { grid-template-columns: 1fr; }
  .menu__photo { max-width: 380px; }
  .menu__midas { left: auto; right: -12px; width: 120px; }
}

/* About */
.about {
  background: var(--mint-wash);
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about > * { max-width: calc(var(--max) / 2); }
.about__photos { position: relative; justify-self: end; width: 100%; padding-bottom: 3rem; }
.about__main { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 85%; }
.about__small {
  position: absolute; right: 0; bottom: 0; width: 42%;
  aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius); border: 6px solid var(--mint-wash);
  transform: rotate(4deg);
}
.about__tagline { font-family: var(--font-script); font-size: var(--step-2); line-height: 1.2; color: var(--lucky-deep); margin-top: 1.5rem; }
@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
  .about__photos { justify-self: center; max-width: 420px; }
}

/* Service area: towns as stops down Highway 2 */
.area { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--gutter); }
.area__route {
  list-style: none; margin: 2.5rem 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.area__route::before {
  content: ""; position: absolute; left: 0; right: 0; top: 11px;
  border-top: 3px dashed var(--lucky);
}
.area__route li {
  position: relative;
  padding-top: 2.5rem;
  font-weight: 700; font-size: var(--step-2); line-height: 1.1;
}
.area__route li::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 25px; height: 25px; border-radius: 50%;
  background: var(--blanco); border: 4px solid var(--lucky);
}
.area__more { font-weight: 500; }
@media (max-width: 720px) {
  .area__route { grid-template-columns: 1fr; gap: 1.25rem; padding-left: 2.5rem; }
  .area__route::before { left: 11px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 3px dashed var(--lucky); }
  .area__route li { padding-top: 0; }
  .area__route li::before { left: -2.5rem; }
}

/* Quote form */
.quote {
  background: var(--lucky);
  color: var(--blanco);
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.quote .script-heading { color: var(--blanco); }
.quote__intro { position: sticky; top: 7rem; justify-self: end; max-width: 26rem; }
.quote__intro p { font-size: var(--step-1); }
.quote__midas { width: clamp(140px, 18vw, 220px); margin-top: 2rem; }
.quote__form, .quote-thanks {
  background: var(--blanco);
  color: var(--dark-roast);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  max-width: 44rem;
}
.quote__form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field--wide, .quote__required, .quote__status, .button--submit { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field input, .field select, .field textarea {
  font: inherit; color: inherit;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 2px solid #858585;
  border-radius: 10px;
  background: var(--blanco);
}
/* iOS Safari gives date inputs an intrinsic min width that ignores width: 100%.
   Without native styling an empty date box collapses, so match the text inputs height. */
.field input[type="date"] { -webkit-appearance: none; appearance: none; min-width: 0; min-height: calc(1.6em + 1.5rem + 4px); text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lucky); outline: none; box-shadow: 0 0 0 3px rgba(0, 156, 89, 0.25); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: 0; color: var(--error); font-size: var(--step--1); font-weight: 500; }
.field-error:empty { display: none; }
.field__help, .field__hint { margin: 0; font-size: var(--step--1); color: var(--midas-grey); }
.field__hint { color: var(--lucky-deep); font-weight: 600; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req { color: var(--lucky-deep); }
.optional { font-weight: 400; color: var(--midas-grey); }
.quote__required { margin: 0; font-size: var(--step--1); color: var(--midas-grey); }
.quote__status { margin: 0; color: var(--error); font-weight: 600; }
.quote__status:empty { display: none; }
.button--submit { justify-self: start; font-size: var(--step-1); }
.button--submit:disabled { opacity: 0.6; cursor: progress; }
.quote-thanks { text-align: center; }
.quote-thanks img { width: 140px; margin: 0 auto 1rem; }
.quote-thanks h3 { font-family: var(--font-script); font-size: var(--step-3); color: var(--lucky); margin: 0 0 0.3em; font-weight: 500; }
.quote-thanks p { margin-inline: auto; }
@media (max-width: 820px) {
  .quote { grid-template-columns: 1fr; }
  .quote__intro { position: static; justify-self: start; }
  .quote__midas { display: none; }
  .quote__form { grid-template-columns: minmax(0, 1fr); }
}

/* Footer */
.site-footer {
  background: var(--dark-roast); color: var(--blanco);
  display: flex; align-items: center; gap: 2rem;
  padding: 2.5rem var(--gutter);
}
.site-footer__seal { width: 90px; flex: none; }
.site-footer a { color: var(--blanco); font-weight: 600; }
.site-footer p { margin: 0 0 0.3rem; }
.site-footer__text { min-width: 0; }
.site-footer a { overflow-wrap: anywhere; }
.site-footer__small { color: #B3B3B3; font-size: var(--step--1); }
@media (max-width: 520px) {
  .site-footer { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}

/* One orchestrated entrance: the hero pours in */
@media (prefers-reduced-motion: no-preference) {
  .hero__line, .hero__lede, .hero__actions { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__line:nth-child(1) { animation-delay: 0.1s; }
  .hero__line:nth-child(2) { animation-delay: 0.25s; }
  .hero__line:nth-child(3) { animation-delay: 0.4s; }
  .hero__lede { animation-delay: 0.6s; }
  .hero__actions { animation-delay: 0.7s; }
  .hero__photo { animation: fill-up 1.1s cubic-bezier(0.6, 0, 0.2, 1) 0.2s both; }
  .hero__midas { animation: trot-in 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .signature__ring { animation: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(0.4em); } }
@keyframes fill-up { from { clip-path: inset(100% 0 0 0 round 999px 999px 18px 18px); } to { clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); } }
@keyframes trot-in { from { opacity: 0; transform: translateX(-60px) rotate(-6deg); } }
