/* Online Teetimes - styles */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("/assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --green: #1F7A4D;
  --green-dark: #0F3D2E;
  --green-deeper: #0A2C21;
  --amber: #D4920F;
  --sand: #F3F0E6;
  --fairway: #EAF3EC;
  --fairway-2: #E0EDE3;
  --muted: #4D6B5E;
  --mint: #B5DCC1;
  --mist: #D9EBDF;
  --line: #E6E2D6;
  --white: #FFFFFF;
  --radius-lg: 40px;
  --radius: 24px;
  --wrap: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--green-dark); background: var(--white); line-height: 1.55; font-size: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--green-dark); color: #fff; padding: 12px 18px; border-radius: 999px; z-index: 10; font-weight: 700; }
.skip-link:focus { top: 16px; color: #fff; }

/* Wordmark */
.wordmark { display: inline-flex; align-items: baseline; font-size: 1.625rem; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; text-decoration: none; color: var(--green-dark); }
.wordmark .w-online { font-weight: 500; color: var(--green); }
.wordmark .w-tee { font-weight: 800; }
.wordmark svg { width: 0.39em; height: 0.875em; margin: 0 0.02em; flex: none; align-self: baseline; }
.wordmark .tee-stem { fill: currentColor; }
.wordmark .tee-ball { fill: var(--amber); }
.wordmark.on-dark { color: #fff; }
.wordmark.on-dark .w-online { color: var(--mint); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-outline { border-color: var(--green-dark); color: var(--green-dark); background: transparent; }
.btn-outline:hover { background: var(--green-dark); color: #fff; }
.btn-amber { background: var(--amber); color: var(--green-dark); }
.btn-amber:hover { background: #fff; color: var(--green-dark); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: .9375rem; }

/* Hero with mown-fairway stripes */
.hero { background: repeating-linear-gradient(115deg, var(--fairway) 0 90px, var(--fairway-2) 90px 180px); border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.nav a:not(.btn) { color: var(--green-dark); font-weight: 600; font-size: .9375rem; text-decoration: none; padding: 10px 14px; border-radius: 999px; }
.nav a:not(.btn):hover { background: rgba(255,255,255,.7); }
.hero-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-block: clamp(32px, 6vw, 56px) clamp(64px, 9vw, 104px); }
.eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; color: var(--green); }
.hero h1 { margin-top: 20px; font-size: clamp(2.4rem, 5.2vw, 3.5rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 15ch; }
.hero .lede { margin-top: 22px; font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: var(--muted); max-width: 36em; }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.sheet { justify-self: center; width: 100%; max-width: 460px; background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: 0 30px 60px -36px rgba(15,61,46,.55); }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.sheet-head strong { font-size: 1.125rem; }
.sheet-head span { font-size: .875rem; color: var(--muted); }
.sheet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sheet li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; background: var(--sand); }
.sheet time { font-size: 1.1875rem; font-weight: 800; }
.sheet .who { flex: 1; font-size: .875rem; color: var(--muted); }
.tag { font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.tag-paid { background: var(--green); color: #fff; }
.tag-sale { border: 1px solid #D6D0BF; color: var(--muted); padding: 4px 10px; }

/* Integration line */
.integration { padding-top: 48px; }
.integration .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; text-align: center; }
.integration svg { width: 28px; height: 28px; color: var(--green); flex: none; }
.integration p { font-size: 1.1875rem; font-weight: 700; }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 96px); }
.section-sand { background: var(--sand); }
.section-head { max-width: 680px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.4rem); }
.section-head p { margin-top: 12px; font-size: 1.125rem; color: var(--muted); }
.grid { display: grid; gap: 24px; margin-top: 40px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; background: var(--sand); border-radius: 22px; padding: 30px; }
.steps li::before { content: "0" counter(step); display: block; font-size: .9375rem; font-weight: 800; color: var(--green); margin-bottom: 12px; }
.steps h3 { font-size: 1.3125rem; }
.steps p { margin-top: 10px; color: var(--muted); }

.brand-card { background: #fff; border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.brand-card .country { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; color: var(--green); }
.brand-card h3 img { height: 64px; width: auto; }
.brand-card h3.ie img { height: 52px; }
.brand-card p { color: var(--muted); font-size: 1.0625rem; }
.brand-card a { font-weight: 700; margin-top: 4px; }

.partner-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.partner-card .logo { height: 72px; display: flex; align-items: center; }
.partner-card .logo img { width: auto; }
.partner-card h3 { font-size: 1.375rem; }
.partner-card p { color: var(--muted); }

.why { background: var(--green); color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 56px); }
.why h2 { font-size: clamp(1.9rem, 3.4vw, 2.4rem); }
.why .grid { margin-top: 36px; }
.why-item { background: #fff; color: var(--green-dark); border-radius: 18px; padding: 24px; }
.why-item h3 { font-size: 1.125rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.why-item p { font-size: .9375rem; color: var(--muted); }

/* Contact form */
.contact { background: var(--green-dark); color: #fff; }
.contact .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact h2 { font-size: clamp(1.9rem, 3.4vw, 2.4rem); }
.contact .intro p { margin-top: 14px; font-size: 1.125rem; color: var(--mist); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 700; }
.field label span { font-weight: 500; color: var(--mint); }
.field input, .field textarea { font: inherit; font-size: 1rem; padding: 14px 16px; border-radius: 12px; border: 1px solid #3E6B59; background: #fff; color: var(--green-dark); width: 100%; min-height: 50px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--amber); outline-offset: 1px; }
.form .submit { grid-column: 1 / -1; }
.form .note { grid-column: 1 / -1; font-size: .8125rem; color: var(--mist); }
.form .note a { color: #fff; }
.hp { display: none; }

/* Footer */
.site-footer { background: var(--green-deeper); color: var(--mist); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 80px; }
.footer-brand .wordmark { font-size: 1.875rem; }
.footer-brand p { margin-top: 16px; font-size: .9375rem; max-width: 30em; }
.footer-brand .btn { margin-top: 20px; }
.footer-col h2 { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; color: var(--mint); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9375rem; }
.footer-col a { color: #fff; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; color: #fff; }
.footer-bottom { margin-top: 56px; padding-block: 24px 36px; border-top: 1px solid #24503F; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .875rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a { color: var(--mist); }
.footer-bottom a:hover { color: #fff; }

/* Simple pages (legal, thanks, 404) */
.page-hero { background: repeating-linear-gradient(115deg, var(--fairway) 0 90px, var(--fairway-2) 90px 180px); border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); }
.page-hero .page-title { padding-block: 24px 72px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3rem); }
.page-hero .lede { margin-top: 14px; font-size: 1.125rem; color: var(--muted); max-width: 40em; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin-top: 40px; }
.prose p, .prose ul { margin-top: 14px; color: var(--muted); }
.placeholder { border: 2px dashed var(--line); border-radius: 16px; padding: 24px; color: var(--muted); }

/* Reveal on scroll (JS adds .js to <html>) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 960px) {
  .hero-body, .contact .wrap { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .grid-2, .grid-4, .form { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .brand-card, .partner-card { padding: 28px; }
  .sheet { padding: 18px; }
  .sheet li { padding: 12px; gap: 8px; }
}

/* Header sits over the striped hero */
body { position: relative; }
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.hero, .page-hero { padding-top: 92px; }
@media (max-width: 640px) {
  .site-header .wrap { flex-wrap: nowrap; padding-block: 18px; }
  .site-header .wordmark { font-size: 1.375rem; }
  .site-header .btn-small { min-height: 44px; padding: 0 16px; font-size: .875rem; }
  .hero, .page-hero { padding-top: 80px; }
}

/* Sticky header: transparent over the hero, white once scrolled */
.site-header { position: fixed; transition: background-color .25s ease, box-shadow .25s ease; }
.site-header .wrap { transition: padding .25s ease; }
.site-header.is-scrolled { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(15,61,46,.45); }
@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .site-header.is-scrolled { background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
.site-header.is-scrolled .wrap { padding-block: 14px; }
.site-header.is-scrolled .nav a:not(.btn):hover { background: var(--fairway); }
html { scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { .site-header, .site-header .wrap { transition: none; } }

/* Legal pages */
.prose .updated { margin-top: 0; font-size: .9375rem; font-weight: 600; color: var(--green); }
.prose h2 { scroll-margin-top: 96px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-top: 8px; color: var(--muted); }
.prose li ol, .prose li ul { margin-top: 6px; }
.prose strong { color: var(--green-dark); }
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: 72ch; }

/* Company in each country (channel cards, footer) */
.brand-card .entity { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.legal-entities { display: flex; flex-direction: column; gap: 6px; max-width: 52em; }
.legal-entities span + span { color: var(--mist); }

/* Where is your club? */
.choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 8px; font-size: .875rem; font-weight: 700; }
.choice .options { display: flex; flex-wrap: wrap; gap: 10px; }
.choice .options label { position: relative; }
.choice .options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice .options span { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 1px solid #3E6B59; background: transparent; color: #fff; font-weight: 700; font-size: .9375rem; cursor: pointer; }
.choice .options span:hover { border-color: var(--mint); }
.choice .options input:checked + span { background: var(--mint); border-color: var(--mint); color: var(--green-dark); }
.choice .options input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 3px; }


/* Home: links on the UK / Ireland cards */
.brand-card .card-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.brand-card .card-links a:not(.btn) { margin-top: 0; }
.brand-card .card-links .btn { margin-top: 0; color: #fff; }

/* Brand pages (UK Golf Courses, Ireland Golf Courses) */
.brand-hero .page-title { padding-block: 32px 72px; }
.brand-hero .brand-logo { margin-top: 22px; }
.brand-hero .brand-logo img { height: 72px; width: auto; }
.brand-hero .brand-logo.ie img { height: 58px; }
.brand-hero h1 { margin-top: 24px; font-size: clamp(2.2rem, 4.8vw, 3.25rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 20ch; }
.brand-hero .lede { margin-top: 18px; font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); max-width: 38em; }
.stats { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 820px; }
.stats li { background: #fff; border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.stats strong { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; color: var(--green); line-height: 1.1; }
.stats span { font-size: .9375rem; color: var(--muted); }

.ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--fairway); color: var(--green); flex: none; }
.ic svg { width: 26px; height: 26px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.feature h3, .channel h3 { font-size: 1.25rem; }
.feature p, .channel p { color: var(--muted); }

.steps-white li { background: #fff; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; background: var(--green); color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 56px); }
.split h2 { font-size: clamp(1.9rem, 3.4vw, 2.4rem); }
.split-lede { margin-top: 14px; font-size: 1.125rem; color: var(--mist); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; background: #fff; color: var(--muted); border-radius: 18px; padding: 20px 22px 20px 58px; }
.ticks li::before { content: ""; position: absolute; left: 22px; top: 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F3D2E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks strong { color: var(--green-dark); }

.channel { background: #fff; border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.channel a { font-weight: 700; margin-top: auto; }

.club-list { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.club-list li { padding: 12px 20px; border-radius: 999px; background: var(--fairway); font-weight: 600; font-size: .9375rem; }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border-radius: 18px; padding: 0 22px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font-weight: 700; font-size: 1.0625rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--green); line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 20px; color: var(--muted); }

.cross { padding-block: 0; }
.cross .wrap { padding-block: 0; }
.cross-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-block: clamp(48px, 7vw, 72px); padding: 28px 32px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--green-dark); transition: border-color .15s, background-color .15s; }
.cross-link span { color: var(--muted); font-weight: 600; }
.cross-link strong { font-size: 1.125rem; }
.cross-link strong::after { content: " \2192"; color: var(--green); }
.cross-link:hover { border-color: var(--green); background: var(--fairway); color: var(--green-dark); }

@media (max-width: 960px) {
  .split, .faq { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .brand-hero .brand-logo img { height: 56px; }
  .brand-hero .brand-logo.ie img { height: 44px; }
  .feature, .channel { padding: 26px; }
}
.brand-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.brand-hero .sheet .tag { max-width: 52%; overflow: hidden; text-overflow: ellipsis; }
.brand-hero .stats { max-width: none; }
@media (max-width: 960px) { .brand-hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact .intro p a { color: #fff; font-weight: 700; }
