/* Adinkra-Group public website: WIREFRAME styling.
   Plain greys so the layout and content can be checked first. Font: Inter.
   Colours and the design of each sub-site come from the templates later. */
/* Inter (SIL Open Font License, free for business use), stored on this website. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/static/fonts/inter-latin-ext-wght-normal.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/static/fonts/inter-latin-wght-normal.woff2) format('woff2');
  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: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(/static/fonts/inter-latin-ext-wght-italic.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(/static/fonts/inter-latin-wght-italic.woff2) format('woff2');
  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;
}
:root {
  --bg: #ffffff;
  --soft: #f2f3f5;
  --line: #d5d8de;
  --ph: #e4e6ea;
  --text: #1d2129;
  --muted: #5f6673;
  --accent: #333a46;
  --accent-text: #ffffff;
  --dark: #0d0d0d;
  --hot: #ff4a1c; /* past events heading, as in the sample video */
  --radius: 10px;
  --wrap: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-family: var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin: 2rem 0 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.section { padding: 2rem 20px; }
.page-pad { padding-top: 2rem; padding-bottom: 3rem; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 70ch; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 99; }
:focus-visible { outline: 3px solid #5b8def; outline-offset: 2px; }

/* Wireframe image placeholder */
.ph { background: var(--ph); border: 1px dashed #aab0ba; display: grid; place-items: center; aspect-ratio: 16 / 9; width: 100%; color: #6b7280;
  font-size: .85rem; text-align: center; padding: 1rem;
  background-image: linear-gradient(to top right, transparent calc(50% - 1px), #cfd3d9 50%, transparent calc(50% + 1px)),
                    linear-gradient(to top left, transparent calc(50% - 1px), #cfd3d9 50%, transparent calc(50% + 1px)); }
.ph span { background: var(--ph); padding: .3rem .6rem; border-radius: 4px; }
.ph.slim { aspect-ratio: auto; min-height: 90px; background-image: none; }
.ph.dark { background-color: #1c1c1c; color: #999; border-color: #444; background-image: none; aspect-ratio: auto; min-height: 220px; }
.ph.dark span { background: #1c1c1c; }

/* Buttons: each word capitalised, not all caps */
button, .button { display: inline-block; font: inherit; font-weight: 600; padding: .65rem 1.2rem; border-radius: 999px; border: 2px solid var(--accent);
  background: var(--accent); color: var(--accent-text); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.button.secondary, button.secondary { background: transparent; color: var(--accent); }
button:hover, .button:hover { transform: translateY(-1px); }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.logo img { max-height: 46px; width: auto; }
.logo-ph { display: inline-block; border: 2px dashed #9aa1ab; padding: .3rem .8rem; font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.logo { text-decoration: none; margin-right: auto; }
.main-nav ul, .sub-nav ul, .footer-grid ul { list-style: none; margin: 0; padding: 0; }
.main-nav ul { display: flex; gap: .25rem; }
.main-nav a { display: block; padding: .5rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 600; }
.main-nav a:hover { background: var(--soft); }
.main-nav a[aria-current=page] { background: var(--accent); color: #fff; }
.menu-button { display: none; }
.sub-nav { background: var(--soft); border-top: 1px solid var(--line); }
.sub-nav ul { display: flex; gap: .25rem; overflow-x: auto; }
.sub-nav a { display: block; padding: .55rem .9rem; text-decoration: none; white-space: nowrap; font-size: .95rem; border-bottom: 3px solid transparent; }
.sub-nav a[aria-current=page] { border-bottom-color: var(--accent); font-weight: 700; }
@media (max-width: 860px) {
  .menu-button { display: inline-block; padding: .45rem 1rem; }
  .js .main-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 20px 1rem; }
  .js .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .header-row { flex-wrap: wrap; }
}

/* Banners */
.banner { position: relative; }
.banner .banner-img, .banner .ph { width: 100%; aspect-ratio: 12 / 5; max-height: 520px; object-fit: cover; }
.banner-text { padding-top: 1.5rem; }
.banner-text p { color: var(--muted); max-width: 70ch; }

/* Group homepage cards */
.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.site-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; }
.site-card img, .site-card .ph { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.site-card:hover img { transform: scale(1.05); }
.site-card-text { display: block; padding: 1rem 1.1rem 1.2rem; }
.site-card-title { display: block; font-size: 1.35rem; font-weight: 800; margin-bottom: .25rem; }
.type-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.type-tiles a { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; text-decoration: none; background: var(--soft); }
.type-tiles strong { display: block; font-size: 1.2rem; }
.type-tiles span { color: var(--muted); }
@media (max-width: 860px) { .site-cards, .type-tiles { grid-template-columns: 1fr; } }

/* Cards (packages, events, posts) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.card-media { position: relative; display: block; overflow: hidden; }
.card-media img, .card-media .ph { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-hover { position: absolute; inset: 0; background: rgba(0,0,0,.78); color: #fff; padding: 1rem; font-size: .92rem; opacity: 0; transition: opacity .25s; overflow: hidden; }
.card:hover .card-hover, .card:focus-within .card-hover { opacity: 1; }
.card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: .2rem 0 .4rem; font-size: 1.15rem; }
.card-body h3 a { text-decoration: none; }
.card-meta { color: var(--muted); font-size: .88rem; margin: 0; }
.card-buttons { margin: auto 0 0; padding-top: .75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.card-buttons .button { padding: .45rem 1rem; font-size: .92rem; }
.empty { background: var(--soft); border-radius: var(--radius); padding: 1.5rem; color: var(--muted); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: flex-end; background: var(--soft); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.5rem; }
.filters .field { flex: 1 1 180px; margin: 0; }
.filters label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .2rem; }
.filter-buttons { display: flex; align-items: center; gap: .75rem; }
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], select, textarea {
  width: 100%; font: inherit; padding: .6rem .7rem; border: 1px solid #b6bcc6; border-radius: 6px; background: #fff; }
.tabs a { margin-right: .75rem; }
.tabs a[aria-current=page] { font-weight: 700; }

/* Hero: up to 3 upcoming events, one sliding in after the other.
   Layout from the owner's reference (agraria.at). Colours are neutral until the
   brand colours come from the logo: change the four --hero-* values below. */
.hero { --hero-bg: #1f2933; --hero-bg-2: #2b3742; --hero-side: #3a4652; --hero-frame: #d8dde3; --hero-accent: #c9d1da;
  position: relative; overflow: hidden; color: #fff; background: var(--hero-bg); }
.hero-track { display: flex; transition: transform .8s cubic-bezier(.65, 0, .35, 1); }
.hero-slide { position: relative; flex: 0 0 100%; min-height: 360px;
  background: linear-gradient(115deg, var(--hero-bg) 0%, var(--hero-bg-2) 55%, var(--hero-bg) 100%),
              repeating-linear-gradient(160deg, transparent 0 22px, rgba(255,255,255,.03) 22px 23px); background-blend-mode: normal; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(162deg, transparent 0 26px, rgba(255,255,255,.035) 26px 27px); pointer-events: none; }
.hero-empty { display: grid; place-items: center; padding: 3rem; text-align: center; color: #cfd5dc; }
.hero-link { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) 250px; align-items: center; min-height: 360px; color: inherit; text-decoration: none; }
.hero-info { padding: 2rem 1rem 2.5rem max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); }
.hero-days { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 1rem; padding: .45rem .9rem; background: var(--hero-side); border-radius: 3px; font-size: .78rem; font-weight: 700; }
.hero-days svg { width: 15px; height: 15px; }
.hero-dates { margin: 0 0 .9rem; font-size: 1.05rem; font-weight: 800; }
.hero-logo { max-width: 260px; max-height: 80px; width: auto; height: auto; margin-bottom: .9rem; }
.hero-name { margin: 0 0 .6rem; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.05; letter-spacing: -.02em; }
.hero-tagline { margin: 0 0 .4rem; color: var(--hero-accent); font-weight: 600; }
.hero-where { margin: 0; font-size: .9rem; opacity: .85; }

/* The tilted photo collage */
.hero-collage { position: relative; height: 360px; }
.hcp { position: absolute; width: 44%; aspect-ratio: 4 / 3; border: 3px solid var(--hero-frame); border-radius: 18px; overflow: hidden; background: #3d4954;
  box-shadow: 0 10px 24px rgba(0,0,0,.35); transform: rotate(var(--r)); transition: transform .5s ease; }
.hcp img, .hcp .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; border: 0; }
.hcp .ph span { font-size: .7rem; background: transparent; }
.hcp1 { --r: -8deg; left: 4%; top: -4%; }
.hcp2 { --r: 8deg; left: 46%; top: 16%; z-index: 2; }
.hcp3 { --r: 6deg; left: 8%; top: 42%; z-index: 1; }
.hcp4 { --r: -6deg; left: 52%; top: 64%; z-index: 3; }
.hero-collage.n1 .hcp1 { width: 70%; left: 15%; top: 10%; }
.hero-collage.n2 .hcp1 { left: 6%; top: 8%; } .hero-collage.n2 .hcp2 { left: 44%; top: 34%; }
.hero-slide.current .hcp1 { animation: hp-in .9s .05s both; }
.hero-slide.current .hcp2 { animation: hp-in .9s .15s both; }
.hero-slide.current .hcp3 { animation: hp-in .9s .25s both; }
.hero-slide.current .hcp4 { animation: hp-in .9s .35s both; }
.hero-link:hover .hcp { transform: rotate(var(--r)) scale(1.03); }
@keyframes hp-in { from { opacity: 0; transform: rotate(var(--r)) translateY(30px) scale(.94); } to { opacity: 1; transform: rotate(var(--r)); } }

/* Cards on the right */
.hero-side { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 1.5rem 20px; background: var(--hero-side); }
.hero-box { position: relative; display: block; background: #fff; color: var(--text); border-radius: 4px; padding: .8rem 1rem 1.4rem; transition: transform .2s; }
.hero-link:hover .hero-box:first-child { transform: translateY(-3px); }
.hero-box strong { display: block; font-size: 1.35rem; line-height: 1.1; color: var(--hero-bg); margin-bottom: .35rem; }
.hero-box small { display: block; font-size: .75rem; color: var(--muted); line-height: 1.4; }
.hero-arrow-icon { position: absolute; right: 10px; bottom: 6px; font-size: .95rem; color: #555; }

.hero-dots { position: absolute; left: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); bottom: 14px; display: flex; gap: 8px; z-index: 5; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.4); border: none; }
.hero-dots button[aria-current=true] { background: #fff; width: 28px; border-radius: 5px; }

@media (max-width: 960px) {
  .hero-link { grid-template-columns: 1fr 1fr; }
  .hero-side { display: none; }
}
@media (max-width: 640px) {
  .hero-link { grid-template-columns: 1fr; min-height: 0; }
  .hero-info { padding: 1.8rem 20px .5rem; }
  .hero-collage { height: 250px; margin: 1.2rem 20px 3.2rem; }
  .hcp { width: 46%; }
  .hcp1 { top: 0; }
}

/* Past events: dark sliding row, as in the sample video */
.past-row { background: var(--dark); color: #fff; padding: 2.5rem 0 3rem; }
.past-head { display: flex; align-items: baseline; justify-content: space-between; }
.past-head a { color: #ccc; }
.past-heading { color: var(--hot); font-weight: 900; font-stretch: condensed; text-transform: uppercase; letter-spacing: .01em;
  font-family: var(--font); letter-spacing: -.02em; font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 1.25rem; }
.past-heading span { color: #f3e7d3; }
.past-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0 20px 6px max(20px, calc((100% - var(--wrap)) / 2 + 20px));
  scroll-padding-left: max(20px, calc((100% - var(--wrap)) / 2 + 20px)); scrollbar-width: none; cursor: grab; }
.past-track::-webkit-scrollbar { display: none; }
.past-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.past-card { position: relative; flex: 0 0 clamp(260px, 38vw, 520px); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; scroll-snap-align: start; text-decoration: none; color: #fff; background: #222; }
.past-card img, .past-card .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; transition: transform .5s; user-select: none; -webkit-user-drag: none; }
.past-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .9rem; background: linear-gradient(transparent, rgba(0,0,0,.8)); transition: opacity .3s; }
.past-name { display: block; font-weight: 800; font-size: 1.15rem; }
.past-meta { display: block; font-size: .88rem; opacity: .85; }
.past-desc { position: absolute; inset: 0; padding: 1.2rem; background: rgba(0,0,0,.82); font-size: .95rem; opacity: 0; transition: opacity .35s; display: flex; align-items: center; }
.past-card:hover, .past-card:focus-visible { color: #fff; }
.past-card:hover .past-desc, .past-card:focus-visible .past-desc, .past-card.show-desc .past-desc { opacity: 1; }
.past-card:hover img { transform: scale(1.04); }
.past-card:hover .past-info, .past-card.show-desc .past-info { opacity: 0; }

/* Ads: calm, one at a time, clearly marked */
.ad-slot { position: relative; margin: 1.5rem 0; }
.ad-slot.wide img { width: 100%; aspect-ratio: 1200 / 250; object-fit: cover; border-radius: var(--radius); }
.ad-slot .ad { display: block; position: relative; animation: fade .6s; }
.ad-label { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,.9); color: #333; font-size: .72rem; font-weight: 700; padding: .1rem .45rem; border-radius: 4px; }
.ad-slot.wide .ph { aspect-ratio: 1200 / 250; }
.ad-slot.side { position: sticky; top: 90px; margin-top: 0; }
.ad-slot.side img, .ad-slot.side .ph { width: 300px; max-width: 100%; aspect-ratio: 1 / 2; border-radius: var(--radius); }
@media (max-width: 700px) { .ad-slot.wide img { aspect-ratio: 2 / 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Partner logos: dark strip, 4 at a time, sliding one logo left every few seconds */
.partners { background: #000; color: #fff; padding: 2.6rem 0 3rem; overflow: hidden; }
.partners-heading { color: var(--hot); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(1.8rem, 4.2vw, 2.8rem); margin: 0 0 2.2rem; }
.partners-heading span { color: #f3e7d3; }
.partners-window { overflow: hidden; }
.partners-track { list-style: none; margin: 0; padding: 0; display: flex; will-change: transform; }
.partners-track.static { justify-content: center; }
.partner { flex: 0 0 25%; display: grid; place-items: center; height: 90px; padding: 0 1.5rem; }
.partner a { display: grid; place-items: center; height: 100%; }
.partner img { max-height: 64px; max-width: 170px; width: auto; height: auto; object-fit: contain; transition: transform .3s, opacity .3s; user-select: none; }
.partners.mono-logos .partner img { filter: brightness(0) invert(1); }
.partner a:hover img { transform: scale(1.06); }
@media (max-width: 700px) { .partner { flex-basis: 50%; } .partner img { max-width: 130px; max-height: 52px; } }
.theme-farm .partners { background: var(--f-dark); }
.theme-farm .partners-heading { color: var(--f-yellow-2); }

/* Detail pages (package, event, post) */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; }
.detail-img { border-radius: var(--radius); margin: 1rem 0; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.crumbs { font-size: .9rem; color: var(--muted); margin: 0 0 .5rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; background: var(--soft); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1rem 0 1.5rem; }
.facts dt { font-size: .82rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.facts dd { margin: 0; font-weight: 600; }
.ticks { padding-left: 1.2rem; }
.notice-box { background: #fff6e0; border: 1px solid #ecd391; border-radius: var(--radius); padding: .9rem 1.1rem; }
.warn-box { background: #fff1d6; border: 1px solid #e8b65a; border-radius: 6px; padding: .6rem 1rem; font-weight: 600; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } .detail-side { display: none; } }

/* Farm */
.story { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; }
.story h2 { margin-top: 0; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.photo-grid > :first-child { grid-column: 1 / -1; }
.photo-grid img, .photo-grid .ph { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

/* Enquiry forms */
.enquiry { background: var(--soft); border-radius: var(--radius); padding: 1.5rem; margin: 2.5rem 0 1rem; scroll-margin-top: 90px; }
.enquiry h2 { margin-top: 0; }
.enquiry-form .field { margin-bottom: .9rem; }
.enquiry-form label { display: block; font-weight: 600; margin-bottom: .25rem; }
.enquiry-form label.check { font-weight: 400; display: flex; gap: .5rem; align-items: flex-start; }
.enquiry-form label.check input { margin-top: .35rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }
.phone-row { display: flex; gap: .5rem; }
.phone-row select { flex: 0 0 45%; }
.req { color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { background: #fdecea; border: 1px solid #f3b8b1; color: #7d1a12; border-radius: 6px; padding: .75rem 1rem; margin-bottom: 1rem; }
.error ul { margin: .25rem 0 0; }
.thanks { text-align: center; padding-top: 4rem; padding-bottom: 5rem; }

/* Footer */
.site-footer { background: #1d2129; color: #d9dce2; margin-top: 3rem; padding: 2.5rem 0 1rem; }
.site-footer a { color: #fff; }
.site-footer .muted { color: #9aa1ad; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 1.5rem; }
.footer-grid li { margin: .3rem 0; }
.footer-head, .footer-name { font-weight: 800; color: #fff; margin: 0 0 .5rem; }
.footer-logo { max-height: 50px; width: auto; margin-bottom: .75rem; }
.copyright { border-top: 1px solid #39404d; margin-top: 1.5rem; padding-top: 1rem; font-size: .88rem; color: #9aa1ad; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   FARM: layout and colours from the owner's chosen template
   ========================================================= */
.theme-farm {
  --f-dark: #2d4128;
  --f-sage: #8b9271;
  --f-cream: #f4f3ef;
  --f-yellow: #fbf0a5;
  --f-yellow-2: #fdf2a3;
  --f-ink: #262521;
  --f-line: rgba(38, 37, 33, .14);
  --accent: var(--f-dark);
  color: var(--f-ink);
  background: #fff;
}
.f-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.theme-farm section { position: relative; }
.f-h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; margin: .6rem 0 1.4rem; max-width: 16ch; }
.f-h2.light { color: #fff; }
.f-tag { display: inline-block; margin: 0; padding: .15rem .65rem; border: 1px solid currentColor; border-radius: 999px; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.f-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.35rem; border-radius: 10px; font-weight: 600; font-size: .92rem; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; }
.f-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.f-btn .dot, .f-small-link .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }
.f-btn-white { background: #fff; color: var(--f-ink); }
.f-btn-yellow { background: var(--f-yellow); color: var(--f-ink); }
.f-btn-sage { background: var(--f-sage); color: #fff; }
.f-btn.small { padding: .6rem 1.05rem; font-size: .85rem; }
.theme-farm .ph { background-color: #dfe2d6; border-color: #a9b096; }

/* Header on Farm pages (sits over the hero on the Farm homepage) */
.theme-farm .site-header { background: var(--f-cream); border-bottom-color: var(--f-line); }
.theme-farm .main-nav a[aria-current=page] { background: var(--f-dark); }
.theme-farm .sub-nav { background: #fff; }
.theme-farm .sub-nav a[aria-current=page] { border-bottom-color: var(--f-sage); }
.header-cta { order: 3; background: var(--f-yellow); color: var(--f-ink); padding: .55rem 1.1rem; border-radius: 10px; font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.site-header.over { position: absolute; left: 0; right: 0; top: 0; background: transparent; border: 0; }
.site-header.over .header-row { margin-top: 14px; background: rgba(40, 40, 30, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 14px; max-width: 1180px; padding: 0 16px 0 20px; }
.site-header.over .logo-ph { color: #fff; border-color: rgba(255,255,255,.6); }
.site-header.over .main-nav a { color: #fff; }
.site-header.over .main-nav a:hover { background: rgba(255,255,255,.14); }
.site-header.over .main-nav a[aria-current=page] { background: rgba(255,255,255,.2); }
.site-header.over .sub-nav { background: transparent; border: 0; }
.site-header.over .sub-nav .wrap { max-width: 1180px; padding: 0 24px; }
.site-header.over .sub-nav a { color: rgba(255,255,255,.85); padding: .45rem .8rem; }
.site-header.over .sub-nav a[aria-current=page] { color: #fff; border-bottom-color: var(--f-yellow); }
.site-header.over .menu-button { background: rgba(255,255,255,.15); border-color: transparent; }
@media (max-width: 860px) {
  .header-cta { display: none; }
  .js .site-header.over .main-nav { background: var(--f-dark); border-radius: 0 0 14px 14px; top: 80px; }
}

/* 1. Hero */
.f-hero { min-height: max(640px, 100vh); color: #fff; display: flex; align-items: stretch; overflow: hidden; background: var(--f-dark); }
.f-hero-bg, .f-hero-bg img, .f-hero-bg .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.f-hero-bg img { animation: f-zoom 18s ease-out both; }
.f-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,.35) 100%); pointer-events: none; }
.f-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 300px; grid-template-rows: 1fr auto; gap: 1rem 2rem; padding-top: 170px; padding-bottom: 36px; }
.f-hero-title { grid-column: 1; color: var(--f-yellow-2); font-size: clamp(3rem, 8.4vw, 6.6rem); font-weight: 500; line-height: .98; letter-spacing: -.035em; margin: 0; max-width: 9ch; }
.f-hero-text { grid-column: 2; align-self: start; font-size: .92rem; line-height: 1.55; text-align: right; margin: .5rem 0 0; opacity: .92; }
.f-hero-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.f-hero-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.f-call { font-size: .9rem; }
.f-call a { color: #fff; }
.f-hero-card { position: relative; width: 260px; aspect-ratio: 300 / 220; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; display: block; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.f-hero-card img, .f-hero-card .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; transition: transform .5s; }
.f-hero-card:hover img { transform: scale(1.06); }
.f-hero-card-title { position: absolute; left: 14px; bottom: 12px; font-weight: 700; font-size: .95rem; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.f-play { position: absolute; left: 14px; top: 14px; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--f-ink); display: grid; place-items: center; animation: f-pulse 2.4s infinite; }
.f-play svg { width: 18px; height: 18px; margin-left: 2px; }
@keyframes f-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes f-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 70% { box-shadow: 0 0 0 14px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@media (max-width: 760px) {
  .f-hero-inner { grid-template-columns: 1fr; padding-top: 150px; }
  .f-hero-text { grid-column: 1; text-align: left; }
  .f-hero-bottom { flex-direction: column; align-items: flex-start; }
  .f-hero-card { width: 220px; }
}

/* 2. Mission */
.f-mission { background: var(--f-sage); color: #f3f1e8; padding: 90px 0 0; overflow: hidden; }
.f-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.f-mission p { font-size: .95rem; line-height: 1.7; margin-top: .4rem; }
.f-mission .f-btn { margin-top: .8rem; }
.f-bigline { overflow: hidden; margin-top: 50px; white-space: nowrap; }
.f-bigline-track { display: inline-flex; animation: f-slide 40s linear infinite; }
.f-bigline span { font-size: clamp(3rem, 9vw, 7.5rem); font-weight: 600; letter-spacing: -.03em; color: rgba(45, 65, 40, .45); line-height: 1; }
.f-circles { position: relative; height: clamp(260px, 30vw, 380px); margin-top: -40px; }
.f-circle { position: absolute; border-radius: 50%; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.15); animation: f-float 7s ease-in-out infinite; }
.f-circle img, .f-circle .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; border-radius: 50%; }
.f-circle .ph span { font-size: .7rem; }
.f-circle.c1 { width: 19%; aspect-ratio: 1; left: -1%; top: 0; }
.f-circle.c2 { width: 8%; aspect-ratio: 1; left: 21%; top: 12%; animation-delay: -1s; }
.f-circle.c3 { width: 12%; aspect-ratio: 1; left: 13%; top: 62%; animation-delay: -2s; }
.f-circle.c4 { width: 18%; aspect-ratio: 1; left: 28%; top: 38%; animation-delay: -3s; }
.f-circle.c5 { width: 12%; aspect-ratio: 1; left: 44%; top: 6%; animation-delay: -4s; }
.f-circle.c6 { width: 8%; aspect-ratio: 1; left: 49%; top: 58%; animation-delay: -5s; }
.f-circle.c7 { width: 24%; aspect-ratio: 1; left: 59%; top: 20%; animation-delay: -2.5s; }
.f-circle.c8 { width: 16%; aspect-ratio: 1; left: 86%; top: 2%; animation-delay: -1.5s; }
@keyframes f-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes f-slide { to { transform: translateX(-50%); } }
@media (max-width: 760px) { .f-split { grid-template-columns: 1fr; gap: 1rem; } .f-circles { height: 200px; margin-top: -10px; } }

/* 3. Highlight */
.f-light { background: #fff; padding: 100px 0; }
.f-hl { align-items: center; }
.f-hl-img img, .f-hl-img .ph { border-radius: 18px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.f-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 70px; }
.f-feature .icon { width: 30px; height: 30px; color: var(--f-dark); }
.f-feature h3 { font-size: 1rem; margin: .8rem 0 .4rem; }
.f-feature p { font-size: .88rem; color: #5a5a52; margin: 0 0 1rem; line-height: 1.6; }
.f-round { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--f-yellow); color: var(--f-ink); transition: transform .25s; }
.f-round:hover { transform: rotate(-45deg) scale(1.1); }
.arrow { width: 16px; height: 16px; }
@media (max-width: 760px) { .f-features { grid-template-columns: 1fr; margin-top: 40px; } .f-light { padding: 60px 0; } }

/* 4. Offers */
.f-cream { background: var(--f-cream); padding: 100px 0; }
.f-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.f-offer { position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 1.3rem 1.3rem 0; border: 1px solid var(--f-line); border-radius: 16px; background: #fff; color: var(--f-ink); text-decoration: none; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.f-offer.yellow { background: var(--f-yellow); border-color: transparent; }
.f-offer:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(45, 65, 40, .14); }
.f-num { font-size: .75rem; opacity: .6; }
.f-offer-title { font-size: 1.15rem; font-weight: 600; margin: .5rem 0 .4rem; max-width: 14ch; line-height: 1.3; }
.f-offer .arrow { transition: transform .3s; }
.f-offer:hover .arrow { transform: translateX(6px); }
.f-offer-img { margin-top: auto; display: block; }
.f-offer-img img, .f-offer-img .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; object-position: bottom; transition: transform .5s; }
.f-offer:hover .f-offer-img img { transform: scale(1.06); }
.f-note { text-align: center; font-size: .82rem; margin: 1.8rem 0 0; }
.f-note a { color: var(--f-sage); }
@media (max-width: 860px) { .f-offers { grid-template-columns: 1fr; } .f-cream { padding: 60px 0; } }

/* 5. Numbers and services */
.f-dark { background: var(--f-dark); color: #fff; padding: 0 0 100px; overflow: hidden; }
.f-dark-bg { position: absolute; left: 0; right: 0; top: 0; height: 70%; }
.f-dark-bg img, .f-dark-bg .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.f-dark-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(45,65,40,.15) 0%, rgba(45,65,40,.45) 55%, var(--f-dark) 100%); }
.f-dark-inner { position: relative; z-index: 1; padding-top: 110px; }
.f-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 110px; }
.f-stat:nth-child(2) { margin-top: 50px; }
.f-stat:nth-child(3) { margin-top: 100px; }
.f-stat-num { margin: 0; color: var(--f-yellow-2); font-size: clamp(3rem, 7vw, 5.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.f-stat-num small { font-size: .3em; margin-left: .1em; }
.f-stat p:last-child { font-size: .82rem; max-width: 22ch; margin: .5rem 0 0; opacity: .9; }
.f-services { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.15); }
.f-services li > * { position: relative; display: grid; grid-template-columns: 120px 1fr auto; align-items: center; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.15); color: #fff; text-decoration: none; }
.f-snum { font-size: .75rem; opacity: .7; }
.f-stitle { font-size: clamp(1.8rem, 4.6vw, 3.6rem); font-weight: 500; letter-spacing: -.02em; transition: color .3s, transform .3s; }
.f-services li > *:hover .f-stitle { color: var(--f-yellow-2); transform: translateX(10px); }
.f-more { width: 84px; height: 84px; border-radius: 50%; background: var(--f-yellow); color: var(--f-ink); display: grid; place-items: center; font-size: .72rem; font-weight: 700; text-align: center; transform: scale(0); transition: transform .3s; }
.f-services a:hover .f-more, .f-services a:focus-visible .f-more { transform: scale(1); }
@media (max-width: 760px) {
  .f-stats { grid-template-columns: 1fr; margin-bottom: 60px; }
  .f-stat:nth-child(n) { margin-top: 0; }
  .f-services li > * { grid-template-columns: 50px 1fr auto; }
  .f-more { width: 60px; height: 60px; transform: scale(1); }
}

/* 6. Moving strip */
.f-strip { overflow: hidden; padding: 22px 0; background: #fff; }
.f-strip-track { display: inline-flex; align-items: center; gap: 14px; animation: f-slide 35s linear infinite; white-space: nowrap; }
.f-strip:hover .f-strip-track { animation-play-state: paused; }
.f-pill { background: var(--f-yellow); color: var(--f-ink); font-weight: 600; font-size: .85rem; padding: .7rem 1.4rem; border-radius: 12px; }
.f-pill-img { width: 120px; height: 46px; border-radius: 12px; object-fit: cover; display: inline-block; }
.f-pill-img.ph { aspect-ratio: auto; padding: 0; }

/* 7. Quotes */
.f-quotes { background: #fff; padding: 90px 0 0; overflow: hidden; }
.f-quotes-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: end; }
.f-quotes-text { position: relative; padding-bottom: 60px; }
.f-quote-list { position: relative; margin-top: 1.2rem; min-height: 260px; padding-right: 64px; }
.f-quote { margin: 0; position: absolute; inset: 0 60px 0 0; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .6s; pointer-events: none; }
.f-quote.current { opacity: 1; transform: none; position: relative; pointer-events: auto; }
.f-quote.next { opacity: .3; transform: translateY(170px); }
.f-quote blockquote { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.f-quote figcaption { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; font-size: .85rem; }
.f-quote figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.f-quote figcaption small { display: block; text-transform: uppercase; letter-spacing: .06em; font-size: .65rem; opacity: .65; }
.f-quote-nav { position: absolute; right: 0; top: 2.6rem; display: flex; flex-direction: column; gap: 10px; }
.f-circle-btn { width: 36px; height: 36px; padding: 0; border-radius: 50%; background: #fff; color: var(--f-ink); border: 1px solid var(--f-line); font-size: 1rem; }
.f-circle-btn:hover { background: var(--f-yellow); }
.f-quotes-img img, .f-quotes-img .ph { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.hint-box { border: 1px dashed #a9b096; padding: 1rem; border-radius: 10px; color: #6b6f5e; font-size: .9rem; }
@media (max-width: 860px) { .f-quotes-inner { grid-template-columns: 1fr; } }

/* 8. Latest news */
.f-news-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.f-news-head .f-btn { margin-bottom: 1.4rem; }
.f-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.f-post-img { position: relative; display: block; border-radius: 14px; overflow: hidden; }
.f-post-img img, .f-post-img .ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s; }
.f-post:hover .f-post-img img { transform: scale(1.06); }
.f-badge { position: absolute; left: 10px; top: 10px; background: var(--f-yellow); color: var(--f-ink); font-size: .68rem; font-weight: 700; padding: .2rem .55rem; border-radius: 6px; }
.f-date { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; margin: 1rem 0 .3rem; opacity: .7; }
.f-post h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 .6rem; line-height: 1.3; }
.f-post h3 a { text-decoration: none; }
.f-small-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; text-decoration: none; opacity: .75; }
@media (max-width: 860px) { .f-news { grid-template-columns: 1fr; } }
.f-ad-band { padding: 1px 0 60px; display: flow-root; }

/* 9. Footer */
.f-footer { position: relative; color: #fff; background: #3b2e1c; overflow: hidden; padding: 70px 0 40px; }
.f-footer-bg, .f-footer-bg img, .f-footer-bg .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.f-footer-bg::after { content: ""; position: absolute; inset: 0; background: rgba(40, 28, 10, .35); }
.f-footer-inner { position: relative; z-index: 1; }
.f-wordmark { margin: 0 0 -.18em; text-align: center; color: var(--f-yellow-2); font-size: clamp(3.5rem, 13vw, 10rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; white-space: nowrap; overflow: hidden; }
.f-footer-box { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2.2rem 2.4rem; border-radius: 18px; background: rgba(255,255,255,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.18); }
.f-footer-box p { margin: 0 0 .6rem; font-size: .92rem; }
.f-footer a { color: #fff; }
.f-contact { font-size: 1.3rem !important; }
.f-contact a { text-decoration: none; }
.f-socials { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.4rem !important; }
.f-socials a { font-size: .75rem; padding: .3rem .6rem; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; text-decoration: none; }
.f-socials a.on { background: var(--f-yellow); color: var(--f-ink); border-color: transparent; }
.f-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-left: 1px solid rgba(255,255,255,.2); padding-left: 2rem; }
.f-fhead { font-weight: 700; font-size: 1.05rem !important; }
.f-footer-links ul { list-style: none; margin: 0; padding: 0; font-size: .85rem; }
.f-footer-links li { margin: .35rem 0; }
.f-footer-links a { text-decoration: none; opacity: .9; }
.f-footer-links a:hover { opacity: 1; text-decoration: underline; }
.f-copy { grid-column: 1 / -1; font-size: .78rem !important; opacity: .8; }
.f-top { position: absolute; right: 24px; bottom: 24px; width: 42px; height: 42px; border-radius: 50%; background: var(--f-yellow); color: var(--f-ink) !important; display: grid; place-items: center; text-decoration: none; font-weight: 700; z-index: 2; }
@media (max-width: 760px) { .f-footer-box { grid-template-columns: 1fr; padding: 1.5rem; } .f-footer-links { border-left: 0; padding-left: 0; } }

/* Gentle fade-up as parts scroll into view */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .f-bigline-track, .f-strip-track, .f-circle, .f-play, .f-hero-bg img { animation: none; }
}
@media (max-width: 860px) {
  .f-offer { min-height: 0; }
  .f-offer-img img, .f-offer-img .ph { aspect-ratio: 16 / 9; }
}

/* Events list (layout from events.linuxfoundation.org, with a thumbnail added).
   Colours are neutral until the brand colours come from the logo. */
:root { --ev-accent: #b4475f; --ev-button: #2b3742; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ev-filters { margin: 0 0 1.6rem; }
.ev-search { width: 100%; padding: .7rem .9rem; border: 1px solid #d3d7dd; border-radius: 4px; font: inherit; font-size: .95rem; margin-bottom: .75rem; }
.ev-filter-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .75rem; }
.ev-filter-row select { padding: .6rem .7rem; border: 1px solid #d3d7dd; border-radius: 4px; font-size: .92rem; }
.ev-reset { display: grid; place-items: center; background: #eceef1; border-radius: 4px; text-decoration: none; font-size: .92rem; color: var(--text); }
.ev-reset:hover { background: #e0e3e7; }
.ev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.ev-card { display: flex; flex-direction: column; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 10px rgba(20, 30, 40, .1); transition: box-shadow .25s, transform .25s; }
.ev-card:hover { box-shadow: 0 10px 28px rgba(20, 30, 40, .16); transform: translateY(-3px); }
.ev-thumb { display: block; overflow: hidden; }
.ev-thumb img, .ev-thumb .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s; }
.ev-card:hover .ev-thumb img { transform: scale(1.04); }
.ev-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.2rem 1.2rem; }
.ev-body h3 { margin: 0 0 .45rem; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.01em; }
.ev-body h3 a { text-decoration: none; }
.ev-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin: 0 0 .6rem; font-size: .85rem; font-weight: 700; }
.ev-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.ev-meta svg { width: 14px; height: 14px; color: var(--ev-accent); flex: 0 0 auto; }
.ev-text { margin: 0 0 1rem; font-size: .9rem; line-height: 1.55; color: #333a44; }
.ev-actions { margin: auto 0 0; }
.ev-button { display: inline-block; background: var(--ev-button); color: #fff; padding: .55rem 1rem; border-radius: 4px; font-size: .85rem; font-weight: 700; text-decoration: none; transition: filter .2s, transform .2s; }
.ev-button:hover { filter: brightness(1.15); transform: translateY(-1px); }
@media (max-width: 760px) {
  .ev-grid { grid-template-columns: 1fr; }
  .ev-filter-row { grid-template-columns: 1fr 1fr; }
  .ev-reset { grid-column: 1 / -1; padding: .6rem; }
}

/* =========================================================
   BRAND COLOURS from the Adinkra-Group logo
   (Travel, Events Promo and the shared pages; Farm keeps its own)
   ========================================================= */
:root {
  --brand-brown: #5e4124;
  --brand-brown-dark: #3b2915;
  --brand-gold: #ce9f40;
  --brand-gold-light: #e9c878;
  --brand-terracotta: #d66d4c;
  --brand-cream: #faf6ee;
  --accent: var(--brand-brown);
  --hot: var(--brand-terracotta);
  --ev-accent: var(--brand-terracotta);
  --ev-button: var(--brand-brown);
  --soft: var(--brand-cream);
}
body:not(.theme-farm) main p:not(.card-buttons):not(.ev-actions) > a:not(.button):hover, body:not(.theme-farm) .crumbs a:hover { color: var(--brand-brown); }
body:not(.theme-farm) .site-header { border-bottom: 3px solid var(--brand-gold); }
.logo img { max-height: 56px; }
body:not(.theme-farm) .sub-nav { background: var(--brand-cream); border-top-color: #eadfca; }
body:not(.theme-farm) .sub-nav a[aria-current=page] { border-bottom-color: var(--brand-gold); color: var(--brand-brown); }
body:not(.theme-farm) .button.secondary, body:not(.theme-farm) button.secondary { color: var(--brand-brown); border-color: var(--brand-brown); }
body:not(.theme-farm) .button:not(.secondary):hover { background: var(--brand-brown-dark); border-color: var(--brand-brown-dark); color: #fff; }
.filters, .enquiry, .type-tiles a, .facts, .empty { background: var(--brand-cream); }
.type-tiles a { border-color: #eadfca; }
.type-tiles a:hover { border-color: var(--brand-gold); }
.ticks li::marker { color: var(--brand-gold); }
.card-meta, .crumbs { color: #7a6a58; }

/* Hero in brand colours */
.hero { --hero-bg: var(--brand-brown); --hero-bg-2: #6f4d2b; --hero-side: var(--brand-gold); --hero-frame: var(--brand-gold-light); --hero-accent: var(--brand-gold-light); }
.hero-days { background: var(--brand-gold); color: var(--brand-brown-dark); }
.hero-box strong { color: var(--brand-brown); }

/* Events list */
.ev-reset { background: #f0e7d6; }
.ev-reset:hover { background: #e7dac2; }
.ev-search:focus, .ev-filter-row select:focus { outline: 2px solid var(--brand-gold); outline-offset: 1px; }
.ev-button:hover { background: var(--brand-brown-dark); filter: none; }

/* Dark rows (past events, partner logos): near-black brown, terracotta headings, gold arrows */
.past-row, .partners { background: #140e08; }
.past-heading span, .partners-heading span { color: var(--brand-gold); }

/* Footer */
.site-footer { background: var(--brand-brown-dark); border-top: 4px solid var(--brand-gold); }
.copyright { border-top-color: rgba(255,255,255,.15); }
.footer-head { color: var(--brand-gold-light); }

/* =========================================================
   EVENTS PROMO: Events Promo layout with the Travel look
   (DM Sans, lowercase menu and buttons, brown and gold, cream surfaces).
   Header, menus, buttons, forms and footer come from the shared
   ".look-travel" rules below; these are the Events Promo parts only.
   ========================================================= */
body.theme-events {
  --ink: #5e4124;
  --ink-2: rgba(94, 65, 36, .6);
  --surface: #faf6f1;
  --hair: #efe5dc;
  --r-lg: 32px;
  --r-md: 24px;
}
body.theme-events .section-title, body.theme-events main h1 { font-size: clamp(2rem, 3vw, 42px); font-weight: 600; color: var(--ink); letter-spacing: -.01em; }

/* Hero: same structure, Travel colours */
body.theme-events .hero { color: var(--ink); background: #fff; }
body.theme-events .hero-slide { background: linear-gradient(120deg, #fff 0%, var(--surface) 60%, #f3ebe0 100%); }
body.theme-events .hero-slide::before { display: none; }
body.theme-events .hero-link { border-radius: 0; }
body.theme-events .hero-days { background: var(--ink); color: #fff; border-radius: 100px; padding: .45rem 1rem; font-weight: 600; text-transform: lowercase; }
body.theme-events .hero-dates { color: var(--ink-2); font-weight: 600; }
body.theme-events .hero-name { color: var(--ink); font-size: clamp(2.4rem, 4.6vw, 64px); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
body.theme-events .hero-tagline { color: var(--brand-gold); font-weight: 600; }
body.theme-events .hero-where { color: var(--ink-2); opacity: 1; font-weight: 500; }
body.theme-events .hcp { border: 3px solid #fff; border-radius: 32px; box-shadow: 0 18px 40px rgba(94, 65, 36, .16); background: var(--hair); }
body.theme-events .hcp1 { --r: -4deg; } body.theme-events .hcp2 { --r: 4deg; } body.theme-events .hcp3 { --r: 3deg; } body.theme-events .hcp4 { --r: -3deg; }
body.theme-events .hero-side { background: transparent; gap: 12px; }
body.theme-events .hero-box { background: #fff; border: 2px solid var(--hair); border-radius: var(--r-md); box-shadow: none; padding: 1rem 1.2rem 1.5rem; }
body.theme-events .hero-box strong { color: var(--ink); font-weight: 600; }
body.theme-events .hero-box small { color: var(--ink-2); }
body.theme-events .hero-dots button { background: var(--hair); }
body.theme-events .hero-dots button[aria-current=true] { background: var(--ink); }

/* Filters */
body.theme-events .ev-search { border: 2px solid var(--hair); background: #fff; border-radius: 100px; padding: .9rem 1.4rem; font-size: 1rem; color: var(--ink); }
body.theme-events .ev-search::placeholder { color: var(--ink-2); }
body.theme-events .ev-filter-row select { border: 2px solid var(--hair); background-color: #fff; border-radius: 100px; padding: .75rem 1.1rem; color: var(--ink); font-weight: 500; }
body.theme-events .ev-reset { background: var(--ink); border: 0; border-radius: 100px; color: #fff; font-weight: 600; text-transform: lowercase; }
body.theme-events .ev-reset:hover { background: #735639; color: #fff; }

/* Event cards in the Travel card style */
body.theme-events .ev-grid { gap: 48px 31px; }
body.theme-events .ev-card { border-radius: 0; box-shadow: none; background: transparent; }
body.theme-events .ev-card:hover { transform: none; box-shadow: none; }
body.theme-events .ev-thumb { border-radius: var(--r-lg); }
body.theme-events .ev-card:hover .ev-thumb img { transform: scale(1.05); }
body.theme-events .ev-body { padding: 22px 24px 0; }
body.theme-events .ev-body h3 { font-size: 24px; font-weight: 600; color: var(--ink); }
body.theme-events .ev-meta { font-weight: 600; font-size: 16px; color: var(--ink-2); }
body.theme-events .ev-meta svg { color: var(--ink); }
body.theme-events .ev-text { color: #735639; font-size: 16px; }
/* Phones: hide the event description so each card stays short (still shown on tablets and computers). */
@media (max-width: 599px) { .ev-card .ev-text { display: none; } }
body.theme-events .ev-button { border-radius: 100px; padding: 14px 32px; font-weight: 600; font-size: 16px; background: var(--brand-gold); text-transform: lowercase; }
body.theme-events .ev-button:hover { background: var(--brand-gold); filter: none; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(206, 159, 64, .35); }

/* Past events: white, brown heading, cream glass on hover */
body:not(.theme-farm) .past-row { background: #fff; color: var(--ink, #5e4124); }
.past-row .past-heading { color: var(--brand-brown); }
.past-row .past-head a { color: var(--brand-brown); }
body.theme-events .past-card { border-radius: var(--r-lg); background: var(--hair); }
body.theme-events .past-desc { background: rgba(250, 246, 241, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--ink); font-size: 16px; line-height: 1.55; padding: 1.6rem; font-weight: 500; }
body.theme-events .past-card:hover, body.theme-events .past-card:focus-visible { color: var(--ink); }

/* Partner logos: white strip, brown heading, calm grey logos (all light pages) */
body:not(.theme-farm) .partners { background: #fff; color: var(--ink, #5e4124); border-top: 2px solid #efe5dc; }
body:not(.theme-farm) .partners-heading { color: var(--brand-brown); }
body:not(.theme-farm) .partners.mono-logos .partner img { filter: grayscale(1) brightness(0); opacity: .5; }
body:not(.theme-farm) .partners.mono-logos .partner a:hover img { opacity: .9; }

/* Headings of the dark rows, now in Travel style (no capitals forced) */
body.look-travel .past-heading, body.look-travel .partners-heading { text-transform: none; font-family: var(--font); font-weight: 600; font-size: clamp(2rem, 3vw, 42px); letter-spacing: -.01em; font-stretch: normal; }
body.look-travel .past-head a { text-transform: lowercase; font-weight: 600; }

/* =========================================================
   TRAVEL: from the owner's Figma design "Adinkra Website Design"
   Font DM Sans (as in the design), brand brown #5E4124, gold #CE9F40,
   soft line colour #EFE5DC, card grey #D9D9D9.
   ========================================================= */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(/static/fonts/dm-sans-latin-ext-wght-normal.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(/static/fonts/dm-sans-latin-wght-normal.woff2) format('woff2');
  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: 'DM Sans';
  font-style: italic;
  font-display: swap;
  font-weight: 100 1000;
  src: url(/static/fonts/dm-sans-latin-ext-wght-italic.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-display: swap;
  font-weight: 100 1000;
  src: url(/static/fonts/dm-sans-latin-wght-italic.woff2) format('woff2');
  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;
}

body.look-travel {
  --t-brown: #5e4124;
  --t-brown-2: #735639;
  --t-gold: #ce9f40;
  --t-line: #efe5dc;
  --t-muted: rgba(94, 65, 36, .6);
  --t-soft: rgba(94, 65, 36, .5);
  --font: "DM Sans", "Inter", system-ui, sans-serif;
  font-family: var(--font);
  font-optical-sizing: auto;
  color: var(--t-brown);
  background: #fff;
}
body.look-travel h1, body.look-travel h2, body.look-travel h3 { color: var(--t-brown); font-weight: 600; letter-spacing: -.01em; }
.t-wrap { width: 100%; max-width: 1256px; margin: 0 auto; padding: 0 24px; }

/* Header */
body.look-travel .site-header { position: sticky; top: 0; background: #fff; border-bottom: 0; transition: box-shadow .25s; }
body.look-travel .header-row { min-height: 110px; max-width: 1256px; }
body.look-travel .logo { display: inline-flex; align-items: center; gap: 4px; }
body.look-travel .logo img { height: 40px; width: auto; max-height: none; }
body.look-travel .logo-text { font-weight: 700; font-size: 20px; color: var(--t-brown); text-transform: lowercase; }
body.look-travel .main-nav ul { gap: 1.6rem; }
body.look-travel .main-nav a { font-weight: 500; font-size: 16px; color: var(--t-brown); text-transform: lowercase; padding: .4rem .2rem; border-radius: 0; background: none; }
body.look-travel .main-nav a:hover { background: none; color: var(--t-gold); }
body.look-travel .main-nav a[aria-current=page] { background: none; color: var(--t-brown); box-shadow: inset 0 -2px 0 var(--t-gold); }
.travel-cta { order: 3; margin-left: 2rem; background: var(--t-brown); color: #fff; border-radius: 100px; padding: 14px 40px; font-size: 18px; font-weight: 600; text-transform: lowercase; text-decoration: none; }
.travel-cta:hover { background: var(--t-brown-2); color: #fff; }
body.look-travel .sub-nav { background: #fff; border-top: 1px solid var(--t-line); }
body.look-travel .sub-nav a { color: var(--t-muted); border-bottom: 0; border-radius: 100px; margin: .35rem 0; padding: .35rem .95rem; text-transform: lowercase; font-weight: 500; }
body.look-travel .sub-nav a[aria-current=page] { background: var(--t-line); color: var(--t-brown); }
@media (max-width: 1100px) { .travel-cta { display: none; } }
@media (max-width: 860px) { .js body.look-travel .main-nav { top: 110px; } body.look-travel .main-nav ul { gap: 0; } }

/* Hero */
.t-hero { position: relative; margin: 0 34px; overflow-x: clip; overflow-y: visible; padding-bottom: 0; }
.t-hero-frame { position: relative; aspect-ratio: 1444 / 754; min-height: 600px; border-radius: 60px; overflow: hidden; background: #e9eef3; }
.t-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-hero-text { position: absolute; left: 13.6%; top: 21.7%; width: 511px; max-width: 80%; z-index: 4; }
.t-kicker { margin: 0 0 8px; font-size: 20px; font-weight: 500; color: var(--t-brown); }
.t-title { margin: 0; font-size: clamp(3rem, 5.3vw, 80px) !important; line-height: 1.125; font-weight: 600 !important; letter-spacing: -.01em; }
.t-intro { margin: 12px 0 0; font-size: 18px; color: var(--t-brown-2); max-width: 30em; }
.t-actions { display: flex; align-items: center; gap: 18px; margin-top: 32px; }
.t-btn { display: inline-flex; align-items: center; background: var(--t-gold); color: #fff; border-radius: 100px; padding: 20px 48px; font-size: 18px; font-weight: 600; text-decoration: none; transition: transform .25s, box-shadow .25s, filter .25s; }
.t-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(206, 159, 64, .35); }
.t-play { display: inline-block; width: 63px; height: 63px; border-radius: 50%; transition: transform .25s; }
.t-play:hover { transform: scale(1.08); }
.t-plane-m { display: none; }
.t-overlay { position: absolute; left: calc(32.3% + 0px); top: 6.1%; width: 99.5%; height: auto; z-index: 3; pointer-events: none; animation: t-fly 1.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes t-fly { from { opacity: 0; transform: translate(60px, 40px); } to { opacity: 1; transform: none; } }

/* The "Know More" card cut into the corner */
.t-notch { position: absolute; right: 0; bottom: 0; width: 455px; height: 187px; z-index: 5; }
.t-notch-shape { position: absolute; left: -14px; top: -14px; width: 483px; height: 215px; overflow: visible; }
.t-know { position: absolute; left: 163px; top: 24px; width: 250px; display: flex; align-items: center; justify-content: space-between; color: var(--t-brown-2); font-size: 24px; font-weight: 600; text-decoration: none; }
.t-know img { transition: transform .25s; }
.t-know:hover img { transform: translateX(6px); }
.t-places { position: absolute; left: 30px; top: 94px; display: flex; align-items: center; gap: 20px; }
.t-faces { display: flex; }
.t-faces img { width: 80px; height: 80px; border-radius: 50%; border: 3px solid #fff; object-fit: cover; margin-right: -20px; transition: transform .25s; }
.t-faces img:last-child { margin-right: 0; }
.t-faces img:hover { transform: translateY(-4px); }
.t-places-text { display: flex; flex-direction: column; gap: 4px; width: 153px; }
.t-places-text strong { font-size: 18px; font-weight: 600; color: var(--t-brown); }
.t-places-text small { font-size: 14px; font-weight: 500; line-height: 20px; color: var(--t-soft); }

@media (max-width: 1100px) {
  .t-hero { margin: 0 16px; }
  .t-hero-frame { aspect-ratio: auto; min-height: 0; border-radius: 40px; display: flex; flex-direction: column; padding: 56px 40px 16px; gap: clamp(220px, 48vw, 420px); }
  .t-hero-text { position: relative; left: auto; top: auto; width: auto; max-width: 620px; }
  .t-overlay { left: 18%; top: 34%; width: 95%; }
  .t-notch { position: relative; right: auto; bottom: auto; width: auto; height: auto; margin: 0 -24px; background: rgba(217, 217, 217, .94); border-radius: 30px; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
  .t-notch-shape { display: none; }
  .t-know, .t-places { position: static; }
  .t-know { width: auto; gap: 18px; order: 2; font-size: 20px; }
}
@media (max-width: 640px) {
  .t-hero-frame { padding: 40px 24px 12px; border-radius: 32px; gap: 240px; }
  .t-kicker { font-size: 16px; }
  .t-title { font-size: 44px !important; }
  .t-btn { padding: 16px 26px; font-size: 16px; }
  /* Phones: the plane sits in the free space under the button, so the card never covers it */
  .t-hero-frame { gap: 0; }
  .t-overlay { display: none; }
  .t-plane-m { display: block; position: relative; z-index: 3; width: calc(100% + 48px); max-width: none; height: auto; margin: 8px -24px -18px 6%; pointer-events: none; animation: t-fly 1.4s cubic-bezier(.2, .7, .2, 1) both; }
  .t-btn { font-size: clamp(13px, 4vw, 16px); padding: 16px 22px; white-space: nowrap; }
  .t-notch { margin: 0 -12px; padding: 20px; flex-direction: column; align-items: stretch; gap: 16px; }
  /* Photos on top, the title and text below them, then "Know More" */
  .t-places { flex-direction: column; align-items: flex-start; gap: 12px; }
  .t-places-text { width: auto; }
  .t-places-text strong { font-size: 18px; line-height: 1.3; }
  .t-places-text small { font-size: 14px; line-height: 1.45; }
  .t-faces img { width: 56px; height: 56px; margin-right: -16px; }
  .t-know { justify-content: space-between; border-top: 1px solid rgba(94, 65, 36, .15); padding-top: 14px; }
}

/* Follow pill and partner logos */
.t-follow-row { display: flex; align-items: center; gap: 2.5rem; margin-top: 51px; flex-wrap: wrap; }
.t-follow { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; background: #fff; border: 2px solid var(--t-line); border-radius: 100px; font-size: 18px; font-weight: 600; }
.t-follow a { display: inline-flex; transition: transform .2s; }
.t-follow a:hover { transform: translateY(-2px); }
.t-follow img { width: 32px; height: 32px; }
.t-logos { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 17px 28px; flex-wrap: nowrap; flex: 1; min-width: 0; justify-content: space-between; }
.t-logos li { flex: 0 1 auto; min-width: 0; }
@media (max-width: 900px) { .t-follow-row { flex-direction: column; align-items: flex-start; gap: 1.5rem; margin-top: 32px; } .t-logos { width: 100%; flex: none; flex-wrap: wrap; justify-content: flex-start; gap: 18px 26px; } .t-logos img { max-height: 30px; } }
.t-logos img { display: block; height: auto; max-height: 40px; width: auto; max-width: 100%; object-fit: contain; opacity: .5; filter: grayscale(1); transition: opacity .25s, filter .25s; }
.t-logos a:hover img { opacity: .9; filter: none; }

/* Section heads */
.t-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 44px; }
.t-h2 { margin: 0; font-size: clamp(2rem, 3vw, 42px) !important; }
.t-sub { margin: 12px 0 0; font-size: 20px; font-weight: 500; color: var(--t-soft); }
.t-arrows { display: flex; gap: 16px; }
.t-arrow { width: 64px; height: 64px; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; transition: transform .2s, opacity .2s; }
.t-arrow[data-dir="1"] img { transform: scaleX(-1); }
.t-arrow:hover { transform: scale(1.06); }
.t-arrow[disabled] { opacity: .4; cursor: default; transform: none; }

/* Event archive carousel */
.t-archive { margin-top: 120px; }
.t-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 62px) / 3); gap: 31px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 8px; }
.t-track::-webkit-scrollbar { display: none; }
@media (max-width: 960px) { .t-track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; } }
@media (max-width: 600px) { .t-track { grid-auto-columns: 85%; } .t-head { flex-wrap: wrap; } .t-arrows { display: none; } }

/* Cards (archive and packages) */
.t-card { display: flex; flex-direction: column; gap: 23px; scroll-snap-align: start; color: var(--t-brown); text-decoration: none; }
.t-card-img { display: block; border-radius: 32px; overflow: hidden; aspect-ratio: 398 / 232; background: #eee7df; }
.t-card-img img, .t-card-ph { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.t-card:hover .t-card-img img { transform: scale(1.05); }
.t-card-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 24px; }
.t-card-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.t-card-title { font-size: 24px; font-weight: 600; line-height: 1.25; }
.t-card-place { display: inline-flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 600; color: var(--t-muted); }
.t-pin { width: 14px; height: 17px; }
.t-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; background: var(--t-gold); color: #fff; border-radius: 100px; padding: 10px 18px; font-size: 16px; font-weight: 500; white-space: nowrap; }
.t-badge img { width: 14px; height: 13px; filter: brightness(0) invert(1); }

/* Packages */
.t-packages { margin-top: 140px; }
.t-packages .t-h2 { text-align: center; }
.t-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 28px 0 44px; }
.t-pills a { padding: 12px 24px; border-radius: 100px; border: 2px solid var(--t-line); color: var(--t-brown); text-decoration: none; font-weight: 600; font-size: 16px; text-transform: lowercase; transition: background .2s, border-color .2s; }
.t-pills a:hover { border-color: var(--t-gold); }
.t-pills a[aria-current=page] { background: var(--t-brown); border-color: var(--t-brown); color: #fff; }
.t-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 31px; }
@media (max-width: 960px) { .t-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .t-grid { grid-template-columns: 1fr; } }
/* Phones: cards never get wider than the screen, and a long golden label moves
   under the place name instead of being cut off at the edge. */
@media (max-width: 600px) {
  .t-grid { grid-template-columns: minmax(0, 1fr); }
  .t-card { min-width: 0; }
  .t-card-row { flex-wrap: wrap; align-items: center; gap: 12px; padding: 0 16px; }
  .t-card-text { flex: 1 1 100%; }
  .t-card-title { font-size: 21px; }
  .t-badge { max-width: 100%; padding: 9px 16px; font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
}
.t-empty { text-align: center; color: var(--t-soft); font-size: 18px; }
.t-more { text-align: center; margin-top: 44px; }
.t-more a { color: var(--t-brown); font-weight: 600; }

/* Other Travel pages in the same style */
body.look-travel .button { border-radius: 100px; background: var(--t-brown); border-color: var(--t-brown); }
body.look-travel .button.secondary { background: transparent; color: var(--t-brown); }
body.look-travel .enquiry, body.look-travel .facts, body.look-travel .notice-box, body.look-travel .filters, body.look-travel .empty { background: #faf6f1; border: 0; border-radius: 28px; }
body.look-travel .detail-img { border-radius: 32px; }
body.look-travel .card { border-radius: 32px; border-color: var(--t-line); }
body.look-travel input[type=text], body.look-travel input[type=email], body.look-travel input[type=tel], body.look-travel input[type=number], body.look-travel input[type=search], body.look-travel select, body.look-travel textarea { border-radius: 14px; border-color: var(--t-line); border-width: 2px; }
body.look-travel .crumbs, body.look-travel .card-meta { color: var(--t-muted); }
body.look-travel .ad-slot img { border-radius: 32px; }

/* Footer: light */
body.look-travel .site-footer { background: #faf6f1; color: var(--t-brown); border-top: 2px solid var(--t-line); }
body.look-travel .site-footer a { color: var(--t-brown); text-decoration: none; }
body.look-travel .site-footer a:hover { color: var(--t-gold); }
body.look-travel .footer-head, body.look-travel .footer-name { color: var(--t-brown); }
body.look-travel .site-footer .muted, body.look-travel .copyright { color: var(--t-muted); border-top-color: var(--t-line); }
body.look-travel .partners { border-top: 2px solid var(--t-line); }

@media (max-width: 900px) { .t-logos img { max-height: 26px; } .t-logos { gap: 16px 24px; } }

/* Logo with the company name beside it, top left on every page */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo img { height: 44px; width: auto; max-height: none; }
.logo-text { font-weight: 700; font-size: 20px; color: var(--brand-brown); white-space: nowrap; letter-spacing: -.01em; }
.site-header.over .logo-text { color: #fff; }
.theme-farm .logo-text { color: var(--f-dark); }
.theme-farm .site-header.over .logo-text { color: #fff; }
@media (max-width: 420px) { .logo-text { font-size: 17px; } .logo img { height: 38px; } }

/* ===== Site font: Courier Prime (chosen by the owner) =====
   Applies to Travel, Events Promo and Farm. Inter and DM Sans above are kept as fallbacks. */
@font-face { font-family: "Courier Prime"; font-style: normal; font-display: swap; font-weight: 100 549; src: url(/static/fonts/courier-prime-latin-ext-400-normal.woff2) format("woff2"); 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; }
@font-face { font-family: "Courier Prime"; font-style: normal; font-display: swap; font-weight: 100 549; src: url(/static/fonts/courier-prime-latin-400-normal.woff2) format("woff2"); 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: "Courier Prime"; font-style: italic; font-display: swap; font-weight: 100 549; src: url(/static/fonts/courier-prime-latin-ext-400-italic.woff2) format("woff2"); 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; }
@font-face { font-family: "Courier Prime"; font-style: italic; font-display: swap; font-weight: 100 549; src: url(/static/fonts/courier-prime-latin-400-italic.woff2) format("woff2"); 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: "Courier Prime"; font-style: normal; font-display: swap; font-weight: 550 900; src: url(/static/fonts/courier-prime-latin-ext-700-normal.woff2) format("woff2"); 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; }
@font-face { font-family: "Courier Prime"; font-style: normal; font-display: swap; font-weight: 550 900; src: url(/static/fonts/courier-prime-latin-700-normal.woff2) format("woff2"); 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: "Courier Prime"; font-style: italic; font-display: swap; font-weight: 550 900; src: url(/static/fonts/courier-prime-latin-ext-700-italic.woff2) format("woff2"); 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; }
@font-face { font-family: "Courier Prime"; font-style: italic; font-display: swap; font-weight: 550 900; src: url(/static/fonts/courier-prime-latin-700-italic.woff2) format("woff2"); 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; }
:root, body, body.look-travel, body.theme-travel, body.theme-events, body.theme-farm { --font: "Courier Prime", ui-monospace, "Courier New", monospace; }
body, body.look-travel, body.theme-farm, h1, h2, h3, h4, h5, h6, button, input, select, textarea { font-family: var(--font); }
/* ===== end of site font ===== */

/* ===== Menu bar stays at the top while scrolling ===== */
html { scroll-padding-top: 96px; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(40, 30, 20, .08); }
body.look-travel .header-row { transition: min-height .25s; }
body.look-travel .site-header.scrolled .header-row { min-height: 76px; }
/* Farm homepage: the see-through bar over the big photo stays too, and turns solid once you scroll past the top */
.site-header.over { position: fixed; }
.site-header.over.scrolled { box-shadow: none; }
.site-header.over.scrolled .header-row { background: var(--f-dark); }
.site-header.over.scrolled .sub-nav { display: none; }
@media (max-width: 860px) { .js body.look-travel .site-header.scrolled .main-nav { top: 76px; } }

/* ===== Travel partner logos on phones: one line sliding right to left ===== */
.t-logos-window { flex: 1; min-width: 0; display: flex; }
.t-logos .t-clone { display: none; }
@media (max-width: 900px) { .t-logos-window { width: 100%; flex: none; } }
@media (max-width: 600px) {
  .t-logos-window { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .t-logos { flex: none; width: max-content; flex-wrap: nowrap; justify-content: flex-start; gap: 0; }
  .t-logos li { flex: none; padding-right: 32px; }
  .t-logos img { max-height: 28px; max-width: 110px; }
  .t-logos.sliding .t-clone { display: block; }
  .t-logos.sliding { animation: t-logos-slide var(--slide-time, 20s) linear infinite; }
  .t-logos.sliding:hover, .t-logos.sliding:focus-within { animation-play-state: paused; }
}
@keyframes t-logos-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  .t-logos-window { overflow-x: auto; }
  .t-logos.sliding { animation: none; }
  .t-logos.sliding .t-clone { display: none; }
}
