/* Irish Ted — Clare festival site */
:root {
  --green-deep: #0f3d2e;
  --green-mid: #1e6b52;
  --green-mist: #2d5a4a;
  --gold: #c6a035;
  --gold-light: #e8d48b;
  --cream: #f7f3e9;
  --paper: #fffef9;
  --ink: #1a1a1a;
  --muted: #4a524e;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  /* Inline SVG so side borders work on file:// and sit under content (not blocked by stacking) */
  --celtic-strip-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='80' viewBox='0 0 40 80' fill='none'%3E%3Cg stroke='%230f3d2e' stroke-width='1.25' stroke-opacity='0.38' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 0 C20 10 8 10 8 20 C8 30 20 30 20 40 C20 50 32 50 32 60 C32 70 20 70 20 80'/%3E%3Cpath d='M20 0 C20 10 32 10 32 20 C32 30 20 30 20 40 C20 50 8 50 8 60 C8 70 20 70 20 80'/%3E%3C/g%3E%3C/svg%3E");
  --celtic-strip-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='80' viewBox='0 0 40 80' fill='none'%3E%3Cg transform='translate(40 0) scale(-1 1)' stroke='%230f3d2e' stroke-width='1.25' stroke-opacity='0.38' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 0 C20 10 8 10 8 20 C8 30 20 30 20 40 C20 50 32 50 32 60 C32 70 20 70 20 80'/%3E%3Cpath d='M20 0 C20 10 32 10 32 20 C32 30 20 30 20 40 C20 50 8 50 8 60 C8 70 20 70 20 80'/%3E%3C/g%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  /* First layers draw on top; stripes sit under the soft gradients */
  background-image:
    radial-gradient(ellipse 140% 90% at 50% -25%, rgba(30, 107, 82, 0.09), transparent 52%),
    radial-gradient(ellipse 70% 45% at 0% 100%, rgba(198, 160, 53, 0.06), transparent 50%),
    radial-gradient(ellipse 70% 45% at 100% 100%, rgba(15, 61, 46, 0.05), transparent 50%),
    var(--celtic-strip-left),
    var(--celtic-strip-right);
  background-position:
    center,
    center,
    center,
    left top,
    right top;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat-y, repeat-y;
  background-size:
    auto,
    auto,
    auto,
    min(3.25rem, 4.5vw) 80px,
    min(3.25rem, 4.5vw) 80px;
  background-attachment: scroll, scroll, scroll, fixed, fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

@media (max-width: 720px) {
  body {
    background-image:
      radial-gradient(ellipse 140% 90% at 50% -25%, rgba(30, 107, 82, 0.09), transparent 52%),
      radial-gradient(ellipse 70% 45% at 0% 100%, rgba(198, 160, 53, 0.06), transparent 50%),
      radial-gradient(ellipse 70% 45% at 100% 100%, rgba(15, 61, 46, 0.05), transparent 50%);
    background-position: center, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: auto, auto, auto;
    background-attachment: scroll, scroll, scroll;
  }
}

::selection {
  background: rgba(30, 107, 82, 0.22);
  color: var(--ink);
}

:lang(ga) {
  font-style: italic;
}

a {
  color: var(--green-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-deep);
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: relative;
  z-index: 2;
  background: linear-gradient(
    165deg,
    var(--green-deep) 0%,
    #123529 38%,
    var(--green-mid) 72%,
    var(--green-mist) 100%
  );
  color: var(--cream);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow:
    0 4px 24px rgba(15, 61, 46, 0.35),
    inset 0 -1px 0 rgba(232, 212, 139, 0.28);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  color: var(--gold-light);
}

.brand img {
  width: 118px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.tagline {
  font-size: 0.9rem;
  opacity: 0.92;
  font-style: italic;
  max-width: 14rem;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-main a {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.1vw, 1.125rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.45rem 0.1rem;
  border-bottom: 3px solid transparent;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.nav-main a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
  border-radius: 2px;
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 2rem) 3rem;
  width: 100%;
  background-color: transparent;
}

.hero {
  text-align: center;
  padding: 1rem 0 2rem;
  border-bottom: none;
  margin-bottom: 2rem;
  position: relative;
}

.hero::after {
  content: "";
  display: block;
  width: min(11rem, 55vw);
  height: 0;
  margin: 1.75rem auto 0;
  border-top: 1px solid rgba(30, 107, 82, 0.35);
  border-bottom: 2px solid rgba(198, 160, 53, 0.45);
  opacity: 0.85;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  color: var(--green-deep);
  margin: 0 0 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 auto;
}

.section-block {
  margin-bottom: 2.25rem;
}

.section-block h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--green-deep);
  margin: 0 0 1rem;
  padding-bottom: 0.35rem;
  padding-left: 0.55rem;
  border-left: 3px solid var(--green-mid);
  border-bottom: 3px solid var(--gold);
  display: inline-block;
  box-shadow: 3px 3px 0 0 rgba(198, 160, 53, 0.12);
}

.section-block p {
  margin: 0 0 1rem;
  max-width: 40rem;
}

.pull-quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--green-deep);
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(105deg, var(--paper) 0%, rgba(255, 254, 249, 0.92) 40%, rgba(247, 243, 233, 0.5) 100%);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 2px 12px rgba(15, 61, 46, 0.08);
}

.pull-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-style: normal;
  font-family: var(--font-body);
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--green-deep);
  border-color: #a88628;
}

.btn-primary:hover {
  color: var(--green-deep);
  box-shadow: 0 4px 14px rgba(198, 160, 53, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green-mid);
}

.btn-secondary:hover {
  background: var(--green-deep);
  color: var(--cream);
  border-color: var(--green-deep);
}

.programme {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.programme-item {
  background: var(--paper);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 61, 46, 0.1);
}

.programme-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
  color: var(--green-mid);
}

.price-tag {
  font-weight: 700;
  color: var(--green-deep);
  margin-top: 0.5rem;
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.link-list li {
  margin-bottom: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border-radius: 8px;
  border: 1px solid rgba(15, 61, 46, 0.08);
}

.link-list a {
  font-weight: 600;
}

.acc-intro-banner {
  background: var(--paper);
  border: 1px solid rgba(15, 61, 46, 0.12);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.acc-grid {
  display: grid;
  gap: 1.5rem;
  margin: 1.25rem 0 2.5rem;
}

@media (min-width: 880px) {
  .acc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.acc-card {
  background: var(--paper);
  border-radius: 12px;
  border: 1px solid rgba(15, 61, 46, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 16px rgba(15, 61, 46, 0.06);
}

.acc-card-photo {
  margin: 0;
  position: relative;
}

.acc-card-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.acc-card-photo figcaption {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--muted);
  padding: 0.4rem 0.75rem 0.5rem;
  background: rgba(247, 243, 233, 0.95);
  border-top: 1px solid rgba(15, 61, 46, 0.08);
}

.acc-card-body {
  padding: 1.1rem 1.2rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.acc-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--green-deep);
}

.acc-card-body p {
  margin: 0 0 0.65rem;
  font-size: 0.98rem;
  flex: 1;
}

.acc-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.acc-price {
  font-weight: 700;
  color: var(--green-deep);
  font-size: 1rem;
  margin: 0.35rem 0 0.75rem;
}

.acc-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.acc-card-actions a {
  font-weight: 600;
  font-size: 0.9rem;
}

.accom-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 2rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 61, 46, 0.1);
}

.accom-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--paper);
}

.accom-table th,
.accom-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(15, 61, 46, 0.08);
}

.accom-table th {
  background: rgba(15, 61, 46, 0.06);
  font-weight: 700;
  color: var(--green-deep);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.accom-table tr:last-child td {
  border-bottom: none;
}

.accom-table tbody tr:hover td {
  background: rgba(201, 160, 53, 0.06);
}

.accom-table .nowrap {
  white-space: nowrap;
}

.photo-credit-foot {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 61, 46, 0.1);
}

.acc-landscape-banner {
  margin: 1rem 0 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 61, 46, 0.1);
}

.acc-landscape-banner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.acc-landscape-banner figcaption {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--muted);
  padding: 0.5rem 0.85rem;
  background: rgba(247, 243, 233, 0.95);
  border-top: 1px solid rgba(15, 61, 46, 0.08);
}

.site-footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #0c3428 0%, var(--green-deep) 40%, #0a2a20 100%);
  color: rgba(247, 243, 233, 0.88);
  padding: 1.5rem 1.25rem;
  margin-top: auto;
  font-size: 0.9rem;
  text-align: center;
  border-top: 3px double rgba(232, 212, 139, 0.38);
  letter-spacing: 0.02em;
}

.site-footer p {
  margin: 0;
  max-width: 36rem;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .site-header {
    padding: 1.25rem 2rem 1.75rem;
  }

  .brand img {
    width: 152px;
  }

  main {
    padding-inline: 2rem;
  }
}
