:root{
  --ink:#1b1b1b;
  --muted:#6b6b6b;
  --line:#e7e7e7;
  --bg:#ffffff;
  --green:#2f5b2f;
  --green2:#224422;
  --max:1180px;

  /* fixed header offsets */
  --header-offset-desktop: 122px; /* topbar 40 + nav 82 */
  --header-offset-mobile: 74px;   /* nav 72 + 2px safety for borders/rounding */
}

*{ box-sizing:border-box; }

html, body{ overflow-x:hidden; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--ink);
  background:var(--bg);
  line-height:1.55;

  /* reserve space for fixed header */
  padding-top: var(--header-offset-desktop);
}

a{ color:inherit; text-decoration:none; }

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 18px;
}

/* anchor scrolling stops below fixed header */
:root{ scroll-padding-top: var(--header-offset-desktop); }

/* ---------------------------
   FIXED WRAP (topbar + header)
---------------------------- */
.stickyWrap{
  position:fixed;
  top:0; left:0; right:0;
  z-index:9999;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.06);
}

/* ---------------------------
   Top utility bar
---------------------------- */
.topbar{
  border-bottom:1px solid var(--line);
  font-size:13px;
  color:var(--muted);
  background:#fff;
}

.topbar .row{
  height:40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.topbar .right{
  display:flex;
  align-items:center;
  gap:12px;
}

.icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border:1px solid var(--line);
  border-radius:4px;
  color:var(--muted);
  font-size:14px;
}

/* ---------------------------
   Header + nav
---------------------------- */
header{
  background:#fff;
  width:100%;
  position:relative; /* not sticky (stickyWrap is fixed) */
}

.nav{
  height:82px;
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap:10px;
  min-width:0;
  position:relative;
}

.navlinks{
  display:flex;
  gap:18px;
  align-items:center;
  font-size:14px;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:#2b2b2b;
  flex-wrap:wrap;
  min-width:0;
}

.navlinks a{
  padding:10px 0;
  border-bottom:2px solid transparent;
}

.navlinks a:hover{ border-bottom-color:var(--green); }

.logo{
  min-width:0;
  justify-self:center;
  display:flex;
  align-items:center;
  justify-content:center;
}

.site-logo{
  display:block;
  height:56px;
  width:auto;
  max-width:100%;
}

.navright{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:12px;
  min-width:0;
}

/* Burger */
.burger{
  display:none;
  border:1px solid var(--line);
  background:#fff;
  width:40px;
  height:40px;
  border-radius:4px;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  tap-highlight-color:transparent;
  outline:none;
}

.burger span{
  display:block;
  width:18px;
  height:2px;
  background:#333;
  margin:4px -4px;
}

.burger:focus{
  outline:none;
  box-shadow:0 0 0 2px rgba(47,91,47,.25);
}

.burger:active{ background:#fff; }

.burger:active span,
.burger:focus span{ background:#333; }

/* Mobile dropdown panel */
.mobilePanel{
  display:none;
  border-top:1px solid var(--line);
  background:#fff;

  position:absolute;
  left:0; right:0;
  top:100%;
  z-index:10000;
}

.mobilePanel a{
  display:block;
  padding:14px 18px;
  border-bottom:1px solid var(--line);
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:14px;
}

/* ---------------------------
   Col cards media (Banjos/Bodhrans/Repairs)
---------------------------- */
.col{
  display:flex;
  flex-direction:column;
}

.colMedia{
  width:100%;
  height:180px;
  background-color:#eaeaea;
  border-radius:6px;
  margin-bottom:14px;
  overflow:hidden;

  /* background-image comes from inline style */
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
}

@media (max-width: 900px){
  .colMedia{ height:200px; }
}

/* ---------------------------
   Hero
---------------------------- */
.hero{
  position:relative;
  height:clamp(260px, 42vw, 520px);
  width:100%;
  overflow:hidden;
  background:#111;
  margin:0;
  padding:0;
}

.heroImg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,0,0,.12));
  pointer-events:none;
}

.strap{
  position:absolute;
  left:0; right:0;
  top:0;
  z-index:3;
  background:linear-gradient(90deg, var(--green2), var(--green));
  color:#fff;
  text-align:center;
  font-size:13px;
  letter-spacing:.16em;
  text-transform:uppercase;
  padding:10px 12px;
}

.heroTitle{
  position:absolute;
  inset:0;
  z-index:4;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  text-align:center;
}

.heroTitle h1{
  margin:0;
  color:#fff;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:clamp(22px, 3.2vw, 44px);
  text-shadow:0 2px 20px rgba(0,0,0,.55);
}

/* ---------------------------
   Content
---------------------------- */
main{ padding:34px 0 54px; }

.lede{
  font-size:16px;
  color:#2b2b2b;
  max-width:90%;
}

.lede p{ margin:0 0 16px; }

.divider{
  height:1px;
  background:var(--line);
  margin:26px 0;
}

.cols{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:26px;
  margin-top:18px;
}

@media (max-width: 900px){
  .cols{ grid-template-columns:1fr; }
}

.col h3{
  margin:0 0 10px;
  font-size:14px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.col p{
  margin:0 0 10px;
  color:var(--muted);
  font-size:14px;
}

/* ---------------------------
   Story (left image + text)
---------------------------- */
.storyRow{
  display:flex;
  align-items:flex-start;
  gap:18px;
}

.storyMedia{
  flex:0 0 180px;
  width:180px;         /* explicit width helps iOS */
  height:120px;
  border-radius:6px;
  background-color:#eaeaea;
  overflow:hidden;
  position:relative;

  /* background-image comes from inline style */
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
}

/* subtle depth */
.storyMedia::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg, rgba(0,0,0,.15), rgba(0,0,0,0));
}

.storyText{ flex:1; }

/* ---------------------------
   Newsletter strip
---------------------------- */
.signup{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:18px 0;
  background:#fafafa;
  margin-top:30px;
}

.signup .row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.signup h4{
  margin:0;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:14px;
}

.signup span{
  color:var(--muted);
  font-size:13px;
}

.form{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

input{
  height:42px;
  padding:0 12px;
  border:1px solid var(--line);
  border-radius:4px;
  font-size:14px;
  min-width:min(360px, 75vw);
}

button{
  height:42px;
  padding:0 14px;
  border:1px solid var(--green);
  background:var(--green);
  color:#fff;
  border-radius:4px;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-size:12px;
  cursor:pointer;
}

/* ---------------------------
   Footer
---------------------------- */
footer{
  padding:26px 0 38px;
  color:var(--muted);
  font-size:13px;
}

footer .row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  border-top:1px solid var(--line);
  padding-top:16px;
}

/* ---------------------------
   Mobile header + story tweaks
---------------------------- */
@media (max-width: 960px){
  body{ padding-top: var(--header-offset-mobile); }
  :root{ scroll-padding-top: var(--header-offset-mobile); }

  .topbar{ display:none; }

  .nav{
    height:72px;
    grid-template-columns: 1fr auto 1fr;
  }

  .navlinks{ display:none; }
  .burger{ display:inline-block; }

  .logo{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
    max-width: calc(100vw - 92px);
  }

  .navright{
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
  }

  .site-logo{ height:40px; }
}

/* On small phones: keep story image visible as thumbnail (iOS safe) */
@media (max-width: 700px){
  .storyRow{
    flex-direction:row;
    gap:12px;
  }

  .storyMedia{
    flex:0 0 96px;
    width:96px;
    height:96px;
    border-radius:4px;
  }

  .storyText{ font-size:14px; }
}