/* WG Yard Cards — static clone of the Squarespace site.
   Colors and type scale were measured from the live Squarespace theme. */

:root {
  --pink: #e14497;
  --pink-dark: #c42d7d;
  --sky: #ade5fa;
  --tan: #e6c785;
  --ink: #1f1f1f;
  --black: #000;
  --white: #fff;
  --muted: #5c5c5c;

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 55px);
  --wide: 1256px;
  --header-h: 96px;
  --radius-btn: 10px;
  --radius-field: 6px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(16px, 1.2vw + 2px, 19.28px);
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 4.2vw + .5rem, 4.07rem); line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 2.4vw + .5rem, 2.54rem); line-height: 1.13; }
h3 { font-size: clamp(1.5rem, 1.8vw + .4rem, 2.02rem); line-height: 1.2; }
h4 { font-size: 1.1rem; line-height: 1.2; }
p { margin: 0 0 1em; }

/* Size utilities so semantic headings can match the original visual scale */
.h2 { font-size: clamp(1.75rem, 2.4vw + .5rem, 2.54rem); line-height: 1.13; }
.h3 { font-size: clamp(1.5rem, 1.8vw + .4rem, 2.02rem); line-height: 1.2; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wide) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  height: var(--header-h);
}
.site-header .wrap {
  height: 100%; max-width: none;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-logo img { height: 80px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.social { display: flex; gap: 12px; }
.social a {
  width: 36px; height: 36px; border-radius: 6px;
  display: grid; place-items: center;
  background: var(--pink); color: var(--white);
  transition: background-color .15s ease;
}
.social a:hover { background: var(--pink-dark); }
.social svg { width: 16px; height: 16px; fill: currentColor; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s ease, opacity .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 767px) {
  :root { --header-h: 76px; }
  .site-logo img { height: 60px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; justify-content: flex-start; gap: 36px; padding-top: 48px;
    background: var(--white);
    transform: translateX(100%); visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  .nav-open .site-nav { transform: none; visibility: visible; transition: transform .25s ease; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 22px; font-size: 1.6rem; }
  .nav-open { overflow: hidden; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font); font-size: 16px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none; line-height: 1.2;
  padding: 16px 21px; border: 0; border-radius: var(--radius-btn);
  background: var(--pink); color: var(--white);
  cursor: pointer; transition: background-color .15s ease, opacity .15s ease;
}
.btn:hover { background: var(--pink-dark); }
.btn--dark { background: var(--ink); color: var(--sky); }
.btn--dark:hover { background: #000; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Sections ---------- */

.section { padding: clamp(40px, 6vw, 80px) 0; }
.section--sky { background: var(--sky); }
.section--dark { background: var(--ink); color: var(--white); }
.center { text-align: center; }

/* ---------- Hero slideshow (home) ---------- */

/* The photos are ~4:3 and only ~1830px wide, so they're shown whole (never cropped) at a
   height their resolution supports, over a blurred copy of the same photo that fills the band. */
.hero {
  position: relative; overflow: hidden;
  height: clamp(280px, 42vw, 640px);
  background: var(--ink);
}
.hero-slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity .8s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(28px) brightness(.75) saturate(1.1);
  transform: scale(1.15);
}
.hero-img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.hero-dots button { box-shadow: 0 0 4px rgba(0, 0, 0, .45); }
.hero-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .85); color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
  opacity: 0; transition: opacity .2s ease;
}
.hero:hover .hero-btn, .hero-btn:focus-visible { opacity: 1; }
.hero-btn svg { width: 20px; height: 20px; }
.hero-btn--prev { left: 20px; }
.hero-btn--next { right: 20px; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 16px;
  display: flex; justify-content: center; gap: 10px;
}
.hero-dots button {
  width: 11px; height: 11px; padding: 0; border-radius: 50%;
  border: 2px solid var(--white); background: transparent; cursor: pointer;
}
.hero-dots button[aria-current="true"] { background: var(--white); }
@media (hover: none) { .hero-btn { opacity: 1; } }

/* ---------- Home: intro ---------- */

.intro h1 { color: var(--pink); text-align: center; max-width: 1045px; margin: 0 auto .35em; }
.intro p { max-width: 830px; margin: 0 auto 1.6em; }

/* ---------- Home: portfolio ---------- */

.work-intro {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.work-intro h2 { color: var(--black); text-align: center; margin: 0; }
.work-intro p { font-size: 1rem; margin: 0; }

.portfolio-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.portfolio-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; text-decoration: none; }
.portfolio-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.portfolio-grid .label {
  position: absolute; inset: 0; padding: 28px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: rgba(230, 199, 133, .88);
  color: var(--ink); font-size: clamp(1.4rem, 2vw, 2.02rem); font-weight: 700;
  opacity: 0; transition: opacity .25s ease;
}
.portfolio-grid a:hover .label, .portfolio-grid a:focus-visible .label { opacity: 1; }
.portfolio-grid a:hover img { transform: scale(1.03); }
@media (hover: none) {
  .portfolio-grid .label {
    inset: auto 0 0 0; padding: 10px 14px; opacity: 1;
    font-size: 1.05rem; background: rgba(230, 199, 133, .92);
  }
}

@media (max-width: 767px) {
  .work-intro { grid-template-columns: 1fr; text-align: center; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ---------- Two-column contact ---------- */

.split { display: grid; grid-template-columns: 1fr 1.55fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split h2 { font-size: 1.1rem; }
.split p { font-size: 1rem; }
@media (max-width: 767px) { .split { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */

.form { display: grid; gap: 22px; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend, .form .field > label, .form .field > .label { display: block; padding: 0; margin-bottom: 6px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.form .row--3 { grid-template-columns: 2fr 1fr 1fr; }
.form .sub { display: block; font-size: 12px; margin-bottom: 4px; }
.form .req { font-size: 12px; color: var(--muted); font-weight: 400; }
.form .help { font-size: 14px; color: var(--muted); margin: -2px 0 8px; }

.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"],
.form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 10px 15px; border: 1px solid #8a8a8a; border-radius: var(--radius-field);
  background: var(--white);
}
.form textarea { min-height: 120px; resize: vertical; }
.form select { appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f1f1f' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--pink); outline-offset: 0; border-color: var(--pink); }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; margin: 10px 0; }
.form .check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--pink); }
.form .honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .actions { margin-top: 4px; }
.form-status { font-size: 15px; margin-top: 8px; }
.form-status.is-error { color: #b00020; }
.form-success { padding: 24px; border-radius: 10px; background: #fdf6e8; border: 1px solid var(--tan); }
.form-success p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .form .row, .form .row--3 { grid-template-columns: 1fr; }
}

/* ---------- Booking ---------- */

.banner { aspect-ratio: 1256 / 255; overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .banner { aspect-ratio: 16 / 7; } }
.booking-title { text-align: center; max-width: 720px; margin: clamp(28px, 4vw, 48px) auto 0; }
.booking-form { max-width: 940px; margin: 0 auto; }

/* ---------- Gallery (masonry) ---------- */

.page-intro { text-align: center; max-width: 820px; margin: 0 auto clamp(28px, 4vw, 48px); }
.masonry { columns: 3; column-gap: 16px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; }
.masonry button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.masonry img { width: 100%; height: auto; transition: opacity .2s ease; }
.masonry button:hover img { opacity: .9; }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 520px) { .masonry { columns: 1; } }

/* ---------- Category pagination ---------- */

.pager {
  display: flex; justify-content: space-between; gap: 16px;
  border-top: 1px solid rgba(31, 31, 31, .15);
  margin-top: clamp(32px, 5vw, 64px); padding-top: 28px;
}
.pager a { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.pager a:hover .pager-title { text-decoration: underline; }
.pager .pager-meta { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pager .pager-title { display: block; font-size: clamp(1.1rem, 1.6vw, 1.6rem); font-weight: 700; }
.pager--next { margin-left: auto; text-align: right; }
.pager svg { width: 22px; height: 22px; flex: none; }

/* ---------- FAQs ---------- */

.faq-title { font-size: clamp(1.75rem, 2.4vw + .5rem, 2.54rem); margin-bottom: clamp(28px, 4vw, 56px); }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px); }
.faq-grid h2 { font-size: clamp(1.3rem, 1.4vw + .3rem, 1.61rem); line-height: 1.25; margin-bottom: .6em; }
.faq-grid p { font-size: 16px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .faq-grid { grid-template-columns: 1fr; } }

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

.site-footer { background: var(--ink); color: var(--white); padding: clamp(40px, 5vw, 64px) 0; }
.site-footer .wrap { max-width: calc(1045px + var(--gutter) * 2); }
.site-footer h2 { color: var(--sky); font-size: clamp(1.5rem, 1.8vw + .4rem, 2.02rem); margin-bottom: 1.4em; }
.site-footer p { font-size: 15px; margin: 0 0 .3em; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .social { margin-top: 20px; }
.site-footer .social a { width: 30px; height: 30px; background: var(--white); color: var(--ink); }
.site-footer .social a:hover { background: var(--sky); }
.site-footer .social svg { width: 14px; height: 14px; }

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: var(--tan);
}
.lightbox::backdrop { background: var(--tan); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img {
  max-width: calc(100vw - 140px); max-height: calc(100vh - 80px);
  width: auto; height: auto; object-fit: contain;
}
.lightbox button {
  position: absolute; border: 0; background: transparent; color: var(--ink);
  width: 52px; height: 52px; display: grid; place-items: center; cursor: pointer;
}
.lightbox button svg { width: 30px; height: 30px; }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 14px; }
@media (max-width: 600px) {
  .lightbox img { max-width: 100vw; max-height: calc(100vh - 140px); }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 4px; transform: none; }
}

/* ---------- 404 ---------- */

.notfound { min-height: 50vh; display: grid; place-items: center; text-align: center; }
