/* ==========================================================================
   Tuesday Golf — tuesdaygolfshow.com
   Values below are carried over verbatim from the original design export.
   Only responsive + accessibility refinements were added (marked inline).
   ========================================================================== */

:root {
  --cream:       #F5F0E5;  /* page background */
  --card:        #FFFDF8;  /* raised surfaces */
  --panel:       #EDE6D5;  /* guest CTA panel */
  --rule:        #D6CDBA;  /* hairlines + input borders */
  --ink:         #2A2924;  /* headings */
  --body:        #45433C;  /* body copy */
  --muted:       #8a8676;  /* fine print */
  --green:       #6F7045;  /* brand green: links, buttons */
  --green-dark:  #5c5d38;  /* button hover */
  --gold:        #B89A45;  /* accents */
  --placeholder: #a39e8c;

  --serif: 'Source Serif 4', Georgia, serif;
  --sans:  'Work Sans', Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* Keep [hidden] winning over the display rules below (.success is a flexbox). */
[hidden] { display: none !important; }

html { background: var(--cream); }

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--gold); }

/* Accessibility: a visible keyboard focus ring (the export had none). */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-size: 14px;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

.page { min-height: 100%; }

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  width: 100%;
  height: clamp(220px, 38vh, 420px);
  overflow: hidden;
  background: #e8e0cd;
}

.hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(245, 240, 229, 0) 0%,
    rgba(245, 240, 229, .72) 55%,
    var(--cream) 100%);
}

/* --- Layout -------------------------------------------------------------- */

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Masthead ------------------------------------------------------------ */

.masthead {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: -58px;
}

.masthead__logo {
  display: block;
  width: clamp(104px, 15vw, 140px);
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(42, 41, 36, .18));
}

.kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green);
}

/* --- Intro --------------------------------------------------------------- */

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 28px 0 0;
}

.intro__title {
  margin: 0;
  max-width: 16em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 6.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--ink);
}

.intro__lede {
  margin: 0;
  max-width: 34em;
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}

/* --- Email signup -------------------------------------------------------- */

.signup {
  display: flex;
  justify-content: center;
  padding: 34px 0 0;
}

.card {
  width: 100%;
  max-width: 600px;
  padding: clamp(20px, 3.6vw, 30px);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 1px 0 var(--rule);
}

.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.signup-form__input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 15px 16px;
  font-family: var(--sans);
  font-size: 16px; /* 16px avoids the iOS zoom-on-focus jump */
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 3px;
  outline: none;
}

.signup-form__input::placeholder { color: var(--placeholder); }

.signup-form__input:focus {
  border-color: var(--green);
  background: var(--card);
}

.btn {
  display: inline-block;
  padding: 15px 26px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 3px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.btn:hover {
  color: var(--cream);
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn[disabled] { opacity: .7; cursor: default; }

.signup-form__btn { flex: 0 1 auto; }

.signup-note {
  margin: 14px 0 0;
  font-size: 13px;
  letter-spacing: .01em;
  color: var(--muted);
}

.signup-error {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #8a4a3c;
}

.success {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
}

.success__mark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
}

.success__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}

.success__sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* --- Divider ------------------------------------------------------------- */

.rule {
  height: 1px;
  margin: clamp(52px, 8vw, 88px) 0;
  border: 0;
  background: var(--rule);
}

/* --- About --------------------------------------------------------------- */

.about {
  max-width: 660px;
  margin: 0 auto;
}

.about__title {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.25;
  color: var(--ink);
  text-wrap: pretty;
}

.about p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.75;
}

.about__closer {
  margin: 0;
  color: var(--green);
}

/* --- Features ------------------------------------------------------------ */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(28px, 4vw, 44px);
  margin: clamp(52px, 8vw, 88px) 0;
  padding-top: clamp(40px, 6vw, 60px);
  border-top: 1px solid var(--rule);
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature__tick {
  width: 26px;
  height: 2px;
  margin-bottom: 6px;
  background: var(--gold);
}

.feature__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
}

.feature__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
}

/* --- Guest CTA ----------------------------------------------------------- */

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  margin: 0 0 clamp(52px, 8vw, 88px);
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px);
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.cta__ornament {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta__ornament-line {
  display: block;
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.cta__ornament-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.cta__title {
  margin: 0;
  max-width: 20em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 4.4vw, 38px);
  line-height: 1.15;
  color: var(--ink);
}

.cta__sub {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.4;
  color: var(--green);
}

.cta__text {
  margin: 0;
  max-width: 32em;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  text-wrap: pretty;
}

.cta__location {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
}

.cta__btn { margin-top: 2px; padding: 15px 30px; }

/* --- Footer -------------------------------------------------------------- */

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding: 28px 0 48px;
  border-top: 1px solid var(--rule);
}

.footer__mark {
  margin: 0;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
}

/* --- Small screens ------------------------------------------------------- */
/* Added for responsiveness: below ~480px the input + button no longer fit
   side by side, so they stack full width instead of wrapping unevenly. */
@media (max-width: 479px) {
  .signup-form { flex-direction: column; }
  .signup-form__input { flex: 0 0 auto; } /* stop the 220px basis becoming a height */
  .signup-form__btn { width: 100%; }
  .footer { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
