/*
Theme Name: Island Rhythms
Description: Site styles for Island Rhythms Mas Band.
Template: twentytwentyfour
Version: 1.0.0
Text Domain: island-rhythms
*/
:root { --ir-ink: #101a21; --ir-paper: #fffdf9; --ir-magenta: #8e214f; --ir-teal: #0f5f66; --ir-line: #e0d9d3; }
body { margin: 0; }
.ir-top {
  min-height: 5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem;
  margin: 0 auto; max-width: 78rem; padding: .65rem clamp(1rem, 4vw, 3rem);
}
.ir-top a { color: var(--ir-ink); text-decoration: none; }
.ir-top .ir-brand { display: flex; gap: .7rem; align-items: center; font-weight: 750; letter-spacing: -.015em; white-space: nowrap; }
.ir-brand img { display: block; width: 4rem; height: 3.85rem; object-fit: contain; }
.ir-top nav, .ir-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem clamp(.75rem, 2vw, 1.7rem); }
.ir-top nav a { font-size: .95rem; font-weight: 650; padding: .3rem 0; }
.ir-top nav a:hover, .ir-footer a:hover { text-decoration: underline; text-underline-offset: .24em; }
.ir-top nav .ir-nav-action { color: #fff; background: var(--ir-magenta); padding: .52rem .82rem; border-radius: .35rem; }
.ir-site-header { box-shadow: 0 1px 0 var(--ir-line); }
.ir-main { min-height: 58vh; }
.ir-page-title { margin: 0; padding-top: clamp(2rem, 6vw, 4rem); }
.ir-footer { color: #fef7f1; background: var(--ir-ink); margin-top: 4rem; }
.ir-footer > div {
  max-width: 78rem; margin: 0 auto; padding: 2rem clamp(1rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem 1.6rem;
}
.ir-footer a { color: inherit; }
.ir-page-content img { max-width: 100%; height: auto; }
.ir-page-content label { color: var(--ir-ink); }
.ir-page-content :where(input, textarea, select) { max-width: 100%; box-sizing: border-box; }
.ir-page-content .wpcf7 :where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea) {
  display: block; width: 100%; max-width: 37rem; background: #fff; border: 1px solid #9e9390;
  border-radius: .25rem; padding: .6rem .7rem; color: var(--ir-ink); font: inherit;
}
.ir-page-content .wpcf7-submit { background: var(--ir-teal); color: #fff; border: 0; border-radius: .3rem; padding: .72rem 1rem; cursor: pointer; font: inherit; }
.ir-page-content .wpcf7-list-item { margin: .35rem .85rem .35rem 0; }
.ir-hero {
  background: #101a21; color: #fff; min-height: min(35rem, 76svh); position: relative; isolation: isolate;
  display: flex; align-items: end; padding: clamp(2rem, 7vw, 6rem);
}
.ir-hero img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ir-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #0b1323ed, #0b132345 68%); }
.ir-hero h1 { color: inherit; font-size: clamp(2.45rem, 7vw, 5.5rem); font-weight: 800; letter-spacing: -.05em; margin: 0 0 .3rem; line-height: .98; }
.ir-hero p { color: inherit; font-size: clamp(1rem, 2vw, 1.35rem); margin: .7rem 0 1.2rem; }
.ir-button { display: inline-block; background: var(--ir-magenta); color: #fff !important; font-weight: 700; padding: .58rem .95rem; text-decoration: none; border-radius: .3rem; }
.ir-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(15rem,100%),1fr)); gap: clamp(.8rem, 3vw, 1.6rem); }
.ir-card { border: 1px solid var(--ir-line); border-radius: .5rem; overflow: hidden; background: #fff; }
.ir-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.ir-card > div { padding: .8rem 1rem 1rem; }
.ir-card h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.ir-site-section { margin-block: clamp(2rem, 6vw, 4rem); }
.ir-lead-note { border-inline-start: .3rem solid var(--ir-teal); padding: .7rem 1rem; background: #e8f4f2; color: #113c3d; }
@media (max-width: 670px) {
  .ir-top { flex-wrap: wrap; gap: .3rem; }
  .ir-top nav { width: 100%; padding-bottom: .35rem; }
  .ir-brand img { height: 3.15rem; width: 3.2rem; }
}
