/* =========================
   Steel Craft Atelier — site.css
   CLEAN / DE-DUPED
   - Single Header/Nav system
   - Theme-aware form fields
   - Gallery: grid / mosaic / masonry
   - Footer included
========================= */

/* =========================
   TOKENS / BASE
========================= */
:root{
  --sans: Georgia, serif;
  --display: Georgia, serif;

  --white: #fff;
  --offwhite: #f6f4ef;

  /* UPDATED: offwhite-based tokens for text on dark */
  --muted: rgba(246,244,239,.72);
  --line:  rgba(246,244,239,.55);

  /* Header clearance for non-hero pages */
  --c2-header-clearance: 105px;

  /* Default tile chrome (used by gallery cards) */
  --tile-bg: rgba(0,0,0,0.04);
  --tile-border: rgba(0,0,0,0.12);
  --tile-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: var(--sans);
  background:#111;
  color: var(--offwhite);
}

main{ padding-top: 0; }
body.no-hero main{ padding-top: var(--c2-header-clearance); }

/* =========================
   HEADER / NAV (SINGLE SYSTEM)
========================= */
.c2-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;

  background: rgba(22, 22, 22, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);

  padding: 18px 26px;
  transition: background .22s ease, box-shadow .22s ease;
}

.c2-header.is-solid{
  background: rgba(12, 12, 12, .92);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}

.c2-header-inner{
  display:grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  column-gap: 45px;
}

/* Desktop nav groups */
.c2-nav{
  display:flex;
  gap: 14px;
  align-items:center;
}
.c2-nav--left{ justify-self:end; }
.c2-nav--right{ justify-self:start; }

/* Links */
.c2-link{
  color:var(--offwhite);
  text-decoration:none;
  font-size:15px;
  letter-spacing:.10em;
  text-transform:uppercase;
  opacity:.9;
  padding: 6px 2px;
  position:relative;
}
.c2-link:hover{ opacity:1; }

.c2-link::after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:-6px;
  height:1px;
  background: rgba(255,255,255,.55);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.c2-link:hover::after{ transform: scaleX(1); }

/* Logo */
.c2-logo{
  color:var(--offwhite);
  text-decoration:none;
  font-family: var(--display); /* UPDATED: Georgia via --display */
  font-size:36px;
  letter-spacing:.08em;
  line-height:1;
  text-align:center;
  margin: 0 4px;
}

/* Burger (hidden on desktop) */
.c2-burger{
  display:none;
  background:transparent;
  border:0;
  padding:0;
  cursor:pointer;
}
.c2-burger span{
  display:block;
  width:24px;
  height:2px;
  background:#fff;
  margin:6px 0;
  border-radius:2px;
}

/* Mobile nav dropdown panel */
.c2-mobile-nav{
  display:none;
  position:absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 2000;

  padding: 12px 26px 20px;
  background: rgba(12,12,12,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.10);
}
.c2-mobile-nav.is-open{ display:block; }

.c2-mobile-link{
  display:block;
  padding: 12px 0;
  color: rgba(246,244,239,.9); /* UPDATED: offwhite */
  text-decoration:none;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
  opacity: .9;
}
.c2-mobile-link:hover{ opacity: 1; }

/* Dropdowns (desktop hover) */
.c2-drop{
  position: relative;
  display: inline-flex;
  align-items: center;
}

.c2-drop-toggle{
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.c2-drop-menu{
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  padding: 10px 0;

  background: rgba(12,12,12,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  border-radius: 10px;

  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
  z-index: 2100;
}

.c2-drop-link{
  display: block;
  padding: 10px 16px;
  color: rgba(246,244,239,.92); /* UPDATED: offwhite */
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .10em;
  text-transform: uppercase;
  opacity: .9;
}
.c2-drop-link:hover{ opacity: 1; background: rgba(255,255,255,.06); }

@media (min-width: 901px){
  .c2-drop:hover .c2-drop-menu{
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

/* Dropdowns (mobile accordion) */
.c2-mobdrop-menu{
  display:none;
  padding: 6px 0 12px;
}
.c2-mobdrop.is-open .c2-mobdrop-menu{ display:block; }

.c2-mobdrop-link{
  display:block;
  padding: 10px 0 10px 14px;
  color: rgba(246,244,239,.85); /* UPDATED: offwhite */
  text-decoration:none;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: .9;
}
.c2-mobdrop-link:hover{ opacity: 1; }

/* Responsive nav */
@media (max-width: 900px){
  .c2-nav{ display:none; }

  .c2-header-inner{
    grid-template-columns: auto 1fr auto;
    column-gap: 12px;
  }

  .c2-logo{
    justify-self:center;
    font-size: 28px;
    letter-spacing: .10em;
  }

  .c2-burger{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
  }
}

@media (max-width: 980px){
  :root{ --c2-header-clearance: 132px; }
  .c2-header{ padding: 14px 18px; }
}

/* =========================
   HERO
========================= */
.c2-hero{
  min-height:100vh;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.c2-hero-overlay{
  position:absolute; inset:0;
  background: rgba(0,0,0,.35);
}

.c2-hero-content{
  position:relative;
  max-width: 980px;
  padding: 0 18px;
  text-shadow: 0 10px 35px rgba(0,0,0,.35);
}

.c2-kicker{
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  margin-bottom: 18px;
}

.c2-rule{
  height:2px;
  width: min(880px, 92vw);
  background: var(--line);
  margin: 18px auto;
}

.c2-title{
  margin:0;
  font-family: var(--display); /* UPDATED: Georgia via --display */
  font-weight:400;
  font-size: 60px;
  line-height:1.05;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.c2-body{
  margin: 18px auto 0;
  max-width: 780px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

/* =========================
   SECTION THEMES
========================= */
.c2-section{ padding: 70px 0; }

.c2-section--light{ background:#fff; color:#111; }
.c2-section--dark{ background:#0b0b0b; color:var(--offwhite); }
.c2-section--alt{ background:#f3f1ec; color:#111; }
.c2-section--none{ background:transparent; color:inherit; }

.c2-section-title{
  font-family: var(--display); /* UPDATED */
  font-size: 34px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: inherit;
}

.c2-section-text{
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
  color: inherit;
  opacity: .78;
}

/* Divider */
.c2-divider{
  height: 0px;
  background: rgba(0,0,0,.08);
}
.c2-section--dark + .c2-divider{
   height: 0px;
  background: rgba(255,255,255,.12);
}

/* Containers */
.c2-container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

/* =========================
   IMAGE GRID BLOCK
========================= */
.c2-imagegrid-content{
  max-width: 760px;
  margin: 0 auto 48px;
  padding: 0 22px;
  text-align: center;
}

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

.c2-grid-item{
  margin:0;
  overflow:hidden;
  background:#111;
}

.c2-grid-item img{
  display:block;
  width:100%;
  height:320px;
  object-fit:cover;
  transform: scale(1);
  transition: transform .35s ease;
}

.c2-grid-item:hover img{ transform: scale(1.05); }

/* =========================
   TEXT BLOCK
========================= */
.c2-textblock{
  max-width: 900px;
  margin: 0 auto;
  padding: 0 22px;
  text-align: center;
}
.c2-textblock .c2-section-text{ max-width: 760px; }

/* =========================
   IMAGE + TEXT (SPLIT)
========================= */
.c2-split{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;

  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items:center;
}

.c2-split--reverse{ direction: rtl; }
.c2-split--reverse > *{ direction:ltr; }

.c2-split-media img{
  width:100%;
  height:420px;
  object-fit:cover;
  display:block;
}

.c2-split-content{ text-align:left; }
.c2-split-content .c2-section-text{
  margin: 0;
  max-width: 520px;
}

/* =========================
   STACKED IMAGE (above/below/image-only)
========================= */
.c2-stack-media{
  margin-bottom: 32px;
}
.c2-stack-media img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.c2-stack-media:last-child{ margin-bottom: 0; }

.c2-stack-content{
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

/* =========================
   ICON GRID
========================= */
.c2-icongrid{
  max-width:1100px;
  margin:0 auto;
  padding:0 22px;
}

.c2-icons{
  margin-top:42px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:56px 64px;
  align-items:start;
}

.c2-iconitem{
  display:grid;
  grid-template-columns:52px 1fr;
  gap:18px;
  align-items:flex-start;
  transition: transform .2s ease;
}
.c2-iconitem:hover{ transform: translateY(-2px); }

.c2-iconbadge{
  width:46px;
  height:46px;
  border-radius:50%;
  border:2px solid currentColor;
  display:flex;
  align-items:center;
  justify-content:center;
}

.c2-iconbadge svg,
.c2-iconbadge img{
  width:22px;
  height:22px;
  display:block;
  fill:currentColor;
  stroke:currentColor;
}

.c2-iconbody{ text-align:left; }

.c2-iconhead{
  margin:0 0 8px;
  font-family: var(--display); /* UPDATED */
  font-size:14px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color: inherit;
}

.c2-iconcopy{
  margin:0;
  font-size:15px;
  line-height:1.7;
  color: inherit;
  opacity:.75;
  max-width:36ch;
}

/* Theme aware */
.c2-section--light .c2-iconitem,
.c2-section--alt  .c2-iconitem{ color:#111; }
.c2-section--dark .c2-iconitem{ color:var(--offwhite); }

/* =========================
   ARTICLE SECTION (Background + columns)
========================= */
.c2-article{
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.c2-article-overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.35);
  pointer-events:none;
}

.c2-article-inner{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.c2-article-intro{
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.c2-colgrid{
  margin-top: 40px;
  display:grid;
  gap: 1.5rem;
  align-items:start;
}

.c2-colgrid--1{ grid-template-columns: 1fr; }
.c2-colgrid--2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.c2-colgrid--3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.c2-colgrid--4{ grid-template-columns: repeat(4, minmax(0,1fr)); }
.c2-colgrid--6{ grid-template-columns: repeat(6, minmax(0,1fr)); }

.c2-col img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}

/* =========================
   IMAGE MOSAIC (separate block)
========================= */
.c2-mosaic{ padding: 0; }

.c2-mosaic-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.c2-mosaic-tile{
  position:relative;
  display:block;
  aspect-ratio: 16 / 9;
  overflow:hidden;
  text-decoration:none;
  color:var(--offwhite);
}

.c2-mosaic-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1);
  transition: transform 240ms ease;
}

.c2-mosaic-overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0);
  transition: background 240ms ease;
}

.c2-mosaic-meta{
  position:absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  opacity:0;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.c2-mosaic-title{
  display:block;
  font-size: 1.1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.c2-mosaic-sub{
  display:block;
  margin-top:.4rem;
  font-size:.95rem;
  opacity:.9;
}

.c2-mosaic-tile:hover .c2-mosaic-img{ transform: scale(1.04); }
.c2-mosaic-tile:hover .c2-mosaic-overlay{ background: rgba(0,0,0,0.45); }
.c2-mosaic-tile:hover .c2-mosaic-meta{ opacity: 1; transform: translateY(0); }

/* =========================
   GALLERY
========================= */
.c2-gallery-wrap{ width:100%; }

.c2-gallery-wrap--contained{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.c2-gallery-wrap--full{
  width: 100%;
  margin: 0;
  padding: 0;
}

.c2-gallery-head{
  text-align:center;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  padding: 0 .75rem;
}

/* Theme override for card chrome in dark sections */
.c2-section--dark.c2-gallery{
  --tile-bg: rgba(255,255,255,0.08);
  --tile-border: rgba(255,255,255,0.18);
  --tile-shadow: 0 8px 24px rgba(0,0,0,0.7);
}

/* Grid base */
.c2-gallery-grid{
  display:grid;
  gap: 1.25rem;
}

.c2-gallery-grid--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c2-gallery-grid--4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
.c2-gallery-grid--5{ grid-template-columns: repeat(5, minmax(0, 1fr)); }

.c2-gallery-grid--spaced{ gap: 1.25rem; }
.c2-gallery-grid--tight{ gap: 0; }

/* Tile/card */
.c2-gallery-item{
  margin:0;
  position:relative;
  overflow:hidden;

  background: var(--tile-bg);
  border: 1px solid var(--tile-border);
  border-radius: 4px;
  box-shadow: var(--tile-shadow);

  transition: transform 220ms ease, box-shadow 220ms ease;
}
.c2-gallery-item:hover{ transform: translateY(-3px); }

.c2-gallery-link{
  display:block;
  position:relative;
  height:100%;
}

.c2-gallery-item img{
  width:100%;
  height:auto;
  display:block;
}

/* Hover overlay */
.c2-gallery-hover{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding: 1rem;
  background: rgba(0,0,0,0.45);
  color:var(--offwhite);

  opacity:0;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease;
  border-radius: 4px;
}

.c2-gallery--text-hover .c2-gallery-item:hover .c2-gallery-hover{
  opacity:1;
  transform: translateY(0);
}

/* Below mode */
.c2-gallery-below{
  padding: .75rem 1rem 1rem;
  text-align:center;
}

.c2-gallery-title{
  display:block;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.c2-gallery-sub{
  display:block;
  margin-top:.35rem;
  opacity:.85;
  font-size:.95rem;
}

/* Mode toggles */
.c2-gallery--text-below .c2-gallery-hover,
.c2-gallery--text-none  .c2-gallery-hover{ display:none !important; }

.c2-gallery--text-hover .c2-gallery-below,
.c2-gallery--text-none  .c2-gallery-below{ display:none !important; }

.c2-gallery--text-none .c2-gallery-title,
.c2-gallery--text-none .c2-gallery-sub{ display:none !important; }

/* Tight mode = edge-to-edge, no card chrome */
.c2-gallery-grid--tight .c2-gallery-item{
  border-radius:0;
  border:0;
  box-shadow:none;
  background:transparent;
}
.c2-gallery-grid--tight .c2-gallery-hover{ border-radius:0; }

/* Mosaic mode (varied spans) */
.c2-gallery-grid--mosaic{ grid-auto-flow: dense; }

.c2-gallery--layout-mosaic .c2-gallery-item{ border-radius: 0; }

.c2-gallery--layout-mosaic .c2-gallery-item:nth-child(6n+1){
  grid-column: span 2;
  grid-row: span 2;
}
.c2-gallery--layout-mosaic .c2-gallery-item:nth-child(6n+4){
  grid-column: span 2;
}

@media (max-width: 900px){
  .c2-gallery--layout-mosaic .c2-gallery-item:nth-child(6n+1),
  .c2-gallery--layout-mosaic .c2-gallery-item:nth-child(6n+4){
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Masonry (GRID + JS spans)
   IMPORTANT: default = NO GAPS (your “tight” look)
   Only add gaps when class is-spaced is present.
*/
.c2-gallery--layout-masonry .c2-gallery-masonry{
  display: grid;
  grid-template-columns: repeat(var(--masonry-cols, 3), minmax(0, 1fr));
  grid-auto-rows: 10px;
  gap: 0;                 /* default: no gaps */
  align-items: start;
}

.c2-gallery--layout-masonry .c2-gallery-masonry--2{ --masonry-cols: 2; }
.c2-gallery--layout-masonry .c2-gallery-masonry--3{ --masonry-cols: 3; }
.c2-gallery--layout-masonry .c2-gallery-masonry--4{ --masonry-cols: 4; }
.c2-gallery--layout-masonry .c2-gallery-masonry--5{ --masonry-cols: 5; }

.c2-gallery--layout-masonry .c2-gallery-masonryItem{
  align-self: start;
}

/* spacing modes */
.c2-gallery--layout-masonry .c2-gallery-masonry.is-tight{ gap: 0; }
.c2-gallery--layout-masonry .c2-gallery-masonry.is-spaced{ gap: 1.25rem; }

/* responsive */
@media (max-width: 1100px){
  .c2-gallery--layout-masonry .c2-gallery-masonry--5{ --masonry-cols: 3; }
  .c2-gallery--layout-masonry .c2-gallery-masonry--4{ --masonry-cols: 3; }
}
@media (max-width: 900px){
  .c2-gallery--layout-masonry .c2-gallery-masonry{ --masonry-cols: 2; }
}
@media (max-width: 640px){
  .c2-gallery--layout-masonry .c2-gallery-masonry{ --masonry-cols: 1; }
}

/* =========================
   ENQUIRY FORM (theme-aware)
========================= */
/* Theme tokens for fields */
.c2-section{
  --f-panel: transparent;
  --f-border: rgba(0,0,0,.16);
  --f-border-2: rgba(0,0,0,.22);
  --f-fill: rgba(0,0,0,.02);
  --f-fill-hover: rgba(0,0,0,.035);
  --f-fill-focus: rgba(0,0,0,.05);
  --f-placeholder: rgba(0,0,0,.45);
  --f-ring: rgba(0,0,0,.18);
}

/* light */
.c2-section--light{
  --f-panel: rgba(0,0,0,.015);
  --f-border: rgba(0,0,0,.16);
  --f-border-2: rgba(0,0,0,.26);
  --f-fill: rgba(255,255,255,.85);
  --f-fill-hover: rgba(255,255,255,.92);
  --f-fill-focus: #fff;
  --f-placeholder: rgba(0,0,0,.42);
  --f-ring: rgba(0,0,0,.18);
 background: var(--offwhite);
}

/* alt */
.c2-section--alt{
  --f-panel: rgba(0,0,0,.018);
  --f-border: rgba(0,0,0,.18);
  --f-border-2: rgba(0,0,0,.28);
  --f-fill: rgba(255,255,255,.72);
  --f-fill-hover: rgba(255,255,255,.82);
  --f-fill-focus: rgba(255,255,255,.92);
  --f-placeholder: rgba(0,0,0,.42);
  --f-ring: rgba(0,0,0,.18);
}

/* dark (your screenshot fix) */
.c2-section--dark{
  --f-panel: rgba(255,255,255,.02);
  --f-border: rgba(255,255,255,.22);
  --f-border-2: rgba(255,255,255,.34);
  --f-fill: rgba(255,255,255,.085);
  --f-fill-hover: rgba(255,255,255,.115);
  --f-fill-focus: rgba(255,255,255,.14);
  --f-placeholder: rgba(255,255,255,.50);
  --f-ring: rgba(255,255,255,.22);
}

.c2-formNotice{
  margin: 1.25rem 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  font-family: var(--sans);
  letter-spacing: .01em;
}
.c2-section--dark .c2-formNotice{ border-color: rgba(255,255,255,.18); }

.c2-form{
  max-width: 1120px;
  margin: 1.25rem auto 0;
  padding: clamp(18px, 2.2vw, 28px);
  border-radius: 22px;
  background: var(--f-panel);
  border: 1px solid rgba(255,255,255,.10);
}

.c2-formGrid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 800px){
  .c2-formGrid{
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .c2-field--full{ grid-column: 1 / -1; }
}

.c2-label{
  display:inline-block;
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  opacity: .85;
}

.c2-form input,
.c2-form textarea{
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--f-border);
  background: var(--f-fill);
  color: inherit;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}

.c2-form input:hover,
.c2-form textarea:hover{
  background: var(--f-fill-hover);
  border-color: var(--f-border-2);
}

.c2-form input:focus,
.c2-form textarea:focus{
  background: var(--f-fill-focus);
  border-color: var(--f-border-2);
  box-shadow: 0 0 0 6px var(--f-ring), inset 0 1px 0 rgba(255,255,255,.08);
  transform: translateY(-1px);
}

.c2-form input::placeholder,
.c2-form textarea::placeholder{
  color: var(--f-placeholder);
}

.c2-form textarea{ min-height: 260px; }

.c2-errors{
  margin: .5rem 0 0;
  padding-left: 1.1rem;
  font-size: .9rem;
  opacity: .9;
}

/* Autofill (Chrome) */
.c2-form input:-webkit-autofill,
.c2-form textarea:-webkit-autofill{
  -webkit-text-fill-color: inherit;
  transition: background-color 9999s ease-out 0s;
  box-shadow: 0 0 0 1000px var(--f-fill) inset !important;
}

/* Button */
.c2-btn--primary{
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease;
}
.c2-btn--primary:hover{ transform: translateY(-1px); opacity: .9; }

/* =========================
   RTE helpers
========================= */
.rte .rte-lead{ font-size: 18px; line-height: 1.8; opacity: .9; }
.rte .rte-muted{ opacity: .7; }
.rte .rte-note{ font-size: 14px; opacity: .7; }

.rte .rte-button{
  display:inline-block;
  padding: 10px 16px;
  border: 1px solid currentColor;
  text-decoration:none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
}

/* =========================
   FOOTER (3 equal columns + centered CTA row)
========================= */



.c2-footer-link{
  color: var(--offwhite);
  text-decoration: none;
  letter-spacing: .06em;
  transition: opacity .18s ease;
}
.c2-footer-link:hover{ opacity: 1; }



/* =========================
   RESPONSIVE CONTENT
========================= */
@media (max-width: 980px){
  .c2-title{ font-size:46px; }
  .c2-kicker{ font-size:20px; }
  .c2-section{ padding:50px 0; }

  .c2-grid{ grid-template-columns: 1fr; gap:16px; }
  .c2-grid-item img{ height:260px; }

  .c2-split{ grid-template-columns: 1fr; gap:18px; }
  .c2-split-media img{ height:280px; }
  .c2-split-content{ text-align:center; }
  .c2-split-content .c2-section-text{ margin: 0 auto; }

  .c2-colgrid--2,
  .c2-colgrid--3,
  .c2-colgrid--4,
  .c2-colgrid--6{ grid-template-columns: 1fr; }
}

@media (max-width: 1000px){
  .c2-gallery-grid--4,
  .c2-gallery-grid--5{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c2-icons{ grid-template-columns: 1fr; gap: 30px; }
  .c2-iconcopy{ max-width:none; }
}

@media (max-width: 1100px){
  .c2-mosaic-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px){
  .c2-mosaic-grid{ grid-template-columns: 1fr; }
  .c2-gallery-grid{ grid-template-columns: 1fr; }
}

/* Mobile menu should scroll nicely and not look “blocky” */
@media (max-width: 900px){
  .c2-mobile-nav{
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }

  .c2-mobdrop-toggle{
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .c2-mobdrop-menu{
    display: none;
    padding: 6px 0 10px 14px;
  }

  .c2-mobdrop.is-open .c2-mobdrop-menu{
    display: block;
  }

  .c2-mobdrop-link{
    display:block;
    padding: 10px 0;
    opacity: .85;
  }
}

/* FINAL NAV FORCE (desktop) */
@media (min-width: 901px){
  .c2-nav{ display:flex !important; }
  .c2-burger{ display:none !important; }
}

@media (max-width: 900px){
  .c2-mobdrop-menu{ display:none; }
  .c2-mobdrop.is-open .c2-mobdrop-menu{ display:block; }
}

.c2-mobdrop-menu { display: none; }
.c2-mobdrop.is-open .c2-mobdrop-menu { display: block; }

/* ===== NAV DROPDOWN CLICK FIX (DESKTOP) ===== */

/* Ensure the wrapper is the hover target */
.c2-drop{
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Kill any translateY "gap" that breaks hover */
.c2-drop-menu{
  position: absolute;
  top: 100%;                 /* no gap */
  left: 50%;
  transform: translateX(-50%);  /* remove translateY */
  margin-top: 10px;          /* visual spacing without breaking hover */
  z-index: 9999;
}

/* Create a hover "bridge" so moving cursor doesn’t close menu */
.c2-drop-menu::before{
  content:"";
  position:absolute;
  top:-12px;                 /* bridge height */
  left:0;
  right:0;
  height:12px;
}

/* Open on hover for desktop */
@media (min-width: 901px){
  .c2-drop:hover .c2-drop-menu,
  .c2-drop:focus-within .c2-drop-menu{
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* If you previously hid with opacity/pointer-events, keep it clickable */
.c2-drop-menu{
  display:none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (min-width: 901px){
  .c2-drop:hover .c2-drop-menu,
  .c2-drop:focus-within .c2-drop-menu{
    display:block;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }
}

/* =========================
   HERO SLIDER (single source of truth)
   Works with:
   - #c2HeroSlider root
   - .c2-hero.c2-hero--slide + .is-active
   - [data-hero-prev/next] and dots
========================= */

.c2-heroSlider,
.c2-heroSlider-inner,
#c2HeroSlider{
  position: relative;
}

/* Track holds stacked slides */
.c2-heroSlider-track{
  position: relative;
}

/* Slides stack and fade */
.c2-hero.c2-hero--slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 650ms ease;
}

.c2-hero.c2-hero--slide.is-active{
  position: relative; /* active slide defines height */
  opacity: 1;
  pointer-events: auto;
}

/* Overlay opacity driven by --hero-overlay */
.c2-hero.c2-hero--slide .c2-hero-overlay{
  opacity: var(--hero-overlay, 0.35);
}

/* Ensure hero content stays readable and not under controls */
.c2-hero.c2-hero--slide .c2-hero-content{
  position: relative;
  z-index: 2;
  /*padding-left: 84px;
  padding-right: 84px; */
}

/* Dots centered */
#c2HeroSlider .c2-heroSlider-dots{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 22px;
  z-index: 20;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  margin: 0;
  padding: 0;
}

#c2HeroSlider .c2-heroSlider-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(246,244,239,.65); /* UPDATED: offwhite */
  background: transparent;
  cursor: pointer;
  opacity: .75;
}

#c2HeroSlider .c2-heroSlider-dot.is-active{
  background: rgba(246,244,239,.9); /* UPDATED: offwhite */
  opacity: 1;
}

/* Arrows: big + SVG inline (Feather-style stroke icons) */
#c2HeroSlider .c2-heroSlider-arrow{
  position: absolute;
  bottom: 40%;
  top: auto;
  z-index: 30;

  width: 50px;
  height: 50px;

  border: 0;
  padding: 0;
  border-radius: 999px;

  display: grid;
  place-items: center;

  background: rgba(0,0,0,0.28);
  color: rgba(246,244,239,0.95); /* UPDATED: offwhite */
  cursor: pointer;
}

#c2HeroSlider .c2-heroSlider-arrow--prev{ left: 16px; }
#c2HeroSlider .c2-heroSlider-arrow--next{ right: 16px; }

#c2HeroSlider .c2-heroSlider-arrow svg{
  width: 46px !important;
  height: 46px !important;
  display: block !important;
  transform: scale(1);
  transform-origin: center;
}

#c2HeroSlider .c2-heroSlider-arrow svg *{
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.6 !important;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#c2HeroSlider .c2-heroSlider-arrow:hover{
  background: rgba(0,0,0,0.40);
}

#c2HeroSlider .c2-heroSlider-arrow:focus-visible{
  outline: 2px solid rgba(255,255,255,0.85);
  outline-offset: 3px;
}

/* Mobile adjustments */
@media (max-width: 900px){
  .c2-hero.c2-hero--slide .c2-hero-content{
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 96px; /* room for arrows + dots */
  }

  #c2HeroSlider .c2-heroSlider-arrow{
    width: 64px;
    height: 64px;
    bottom: 16px;
  }

  #c2HeroSlider .c2-heroSlider-arrow svg{
    width: 40px !important;
    height: 40px !important;
  }

  /* Dots sit above arrows on mobile */
  #c2HeroSlider .c2-heroSlider-dots{
    bottom: 92px;
  }
}

/* header starts transparent (no dark bar) */
.c2-header.is-transparent{
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}
.c2-header.is-blur{
  background: rgba(22, 22, 22, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
  transition: background .22s ease, box-shadow .22s ease;
}
.c2-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;

  /* DEFAULT = transparent */
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;

  padding: 18px 26px;
  transition: background .22s ease,
              backdrop-filter .22s ease,
              box-shadow .22s ease;
}
/* =========================
   HERO SLIDE CONTENT POSITION
   uses: .c2-hero--pos-top|middle|bottom
========================= */

/* baseline (your hero is already flex) */
.c2-hero.c2-hero--slide{
  display: flex;
  justify-content: center;
  text-align: center;
}

/* default (current behaviour) */
.c2-hero.c2-hero--slide.c2-hero--pos-middle{
  align-items: center;
}

/* top */
.c2-hero.c2-hero--slide.c2-hero--pos-top{
  align-items: flex-start;
  padding-top: calc(var(--c2-header-clearance, 120px) + 32px);
}

/* bottom */
.c2-hero.c2-hero--slide.c2-hero--pos-bottom{
  align-items: flex-end;
  padding-bottom: 75px; /* keeps clear of dots/arrows */
}

/* Mobile: allow a bit less padding */
@media (max-width: 900px){
  .c2-hero.c2-hero--slide.c2-hero--pos-top{
    padding-top: 120px;
  }
  .c2-hero.c2-hero--slide.c2-hero--pos-bottom{
    padding-bottom: 120px;
  }
}
.c2-hero--pos-middle { align-items:center; }
.c2-hero--pos-top { align-items:flex-start; padding-top:140px; }
.c2-hero--pos-bottom { align-items:flex-end; padding-bottom:120px; }
/*body.no-hero .c2-header{
  position: relative;
}*/
body.header-dark-text .c2-link,
body.header-dark-text .c2-logo {
  color: #111;
}

body.header-dark-text .c2-burger span{
  background: #111;
}

body.header-dark-text .c2-link::after{
  background: rgba(0,0,0,.4);
}

/* =========================================================
   NO-HERO TOP-OF-PAGE HEADER + FIRST SECTION HANDLING
   Uses:
   - body.no-hero (from base.twig)
   - header classes: .is-top-clear + .is-top-light/.is-top-alt/.is-top-dark
   - first section classes: .c2-first-section + .is-at-top
========================================================= */

/* NO-HERO: push first section down ONLY while we're at the very top */
body.no-hero .c2-first-section.is-at-top{
  padding-top: var(--c2-header-clearance);
}

/* When not at top, do not add spacing */
body.no-hero .c2-first-section:not(.is-at-top){
  padding-top: 0;
}

/* -------------------------
   Header: TOP-ONLY (no hero)
   No blur/overlay at top
-------------------------- */
body.no-hero #c2Header.is-top-clear{
  background: transparent;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-bottom-color: transparent !important;
}

/* Light/Alt first section: black header text/icons at top */
body.no-hero #c2Header.is-top-light .c2-link,
body.no-hero #c2Header.is-top-light .c2-logo,
body.no-hero #c2Header.is-top-alt  .c2-link,
body.no-hero #c2Header.is-top-alt  .c2-logo{
  color: #111 !important;
}
body.no-hero #c2Header.is-top-light .c2-burger span,
body.no-hero #c2Header.is-top-alt  .c2-burger span{
  background: #111 !important;
}

/* Dark first section: header should be solid #0b0b0b at top */
body.no-hero #c2Header.is-top-dark{
  background: #0b0b0b !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-bottom-color: transparent !important;
}
body.no-hero #c2Header.is-top-dark .c2-link,
body.no-hero #c2Header.is-top-dark .c2-logo{
  color: var(--offwhite) !important;
}
body.no-hero #c2Header.is-top-dark .c2-burger span{
  background: var(--offwhite) !important;
}

/* Safety: if navBackground toggle added is-blur on load, don't let it show at top (no-hero only) */
body.no-hero #c2Header.is-top-clear.is-blur{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.no-hero #c2Header.is-top-alt{
  background: var(--offwhite);
  color:#0b0b0b;
}
body.no-hero #c2Header.is-top-light{
  background: var(--offwhite);
  color:#0b0b0b;
}
.c2-pageHeader{
  padding: 120px 0 120px;
}

.c2-pageHeader-inner{
  max-width: 900px;
  margin: 0 auto;
  padding: 0 22px;
  text-align: center;
}

.c2-pageHeader-title{
  margin: 0;
  font-family: var(--display);
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.c2-pageHeader-text{
  max-width: 760px;
  margin: 22px auto 0;
  font-size: 16px;
  line-height: 1.8;
  opacity: .82;
}

@media (max-width: 900px){
  .c2-pageHeader{
    padding: 100px 0 42px;
  }

  .c2-pageHeader-title{
    font-size: 38px;
  }
}

.c2-footer{
  background:#0b0b0b;
  color:var(--offwhite);
}

.c2-footer-top{
  padding:64px 0;
}

.c2-footer-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:0;
}

.c2-footer-col{
  padding:0 28px;
}

.c2-footer-col + .c2-footer-col{
  border-left:1px solid rgba(255,255,255,.08);
}

.c2-footer-title{
  margin:0 0 14px;
  font-family:"Cinzel", serif;
  font-size:13px;
  font-weight:500;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--offwhite);
}

.c2-footer-title--icon{
  display:flex;
  align-items:center;
  gap:10px;
}

.c2-footer-titleIcon{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 18px;
}

.c2-footer-titleIcon svg,
.c2-footer-titleIcon img{
  width:18px;
  height:18px;
  display:block;
  fill:currentColor;
  stroke:currentColor;
}

.c2-footer-copy{
  font-size:15px;
  line-height:1.8;
  color:rgba(246,244,239,.82);
}

.c2-footer-copy p{
  margin:0 0 12px;
}

.c2-footer-copy p:last-child{
  margin-bottom:0;
}

/* make all footer links white/offwhite */
.c2-footer a,
.c2-footer .c2-footer-link,
.c2-footer-copy a{
  color:var(--offwhite);
  text-decoration:none;
}

.c2-footer a:hover,
.c2-footer .c2-footer-link:hover,
.c2-footer-copy a:hover{
  opacity:.85;
}

/* bottom bar */
.c2-footer-bottom{
  padding:18px 0;
  text-align:center;
  font-size:12px;
  color:rgba(246,244,239,.72);
}

/* tablet */
@media (max-width:1000px){
  .c2-footer-inner{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:28px 0;
  }

  .c2-footer-col:nth-child(3),
  .c2-footer-col:nth-child(4){
    padding-top:28px;
  }

  .c2-footer-col:nth-child(3){
    border-left:none;
  }
}

/* mobile */
@media (max-width:640px){
  .c2-footer-inner{
    grid-template-columns:1fr;
  }

  .c2-footer-col{
    padding:20px 0;
  }

  .c2-footer-col + .c2-footer-col{
    border-left:none;
    padding-top:24px;
  }
}
.c2-footer-col{
  text-align:center;
}

.c2-footer-title{
  text-align:center;
}

.c2-footer-title--icon{
  justify-content:center;
}

.c2-footer-col:first-child .c2-footer-title{
  font-size:18px;
  letter-spacing:.12em;
}
.c2-footer-titleIcon{
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

.c2-footer-titleIcon svg,
.c2-footer-titleIcon img{
  width: 18px;
  height: 18px;
  display: block;
}

.c2-footer-titleIcon svg{
  color: var(--offwhite);
}

.c2-footer-titleIcon svg *{
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c2-pageHeader{
  position: relative;
  padding: 120px 0 56px;
}

.c2-pageHeader-inner{
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 22px;
  text-align: center;
}

.c2-pageHeader-text{
  max-width: 760px;
  margin: 22px auto 0;
}

/* Banner mode */
.c2-pageHeader--banner{
  min-height: 450px;
  padding: 0;
  display: flex;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.c2-pageHeader--banner .c2-pageHeader-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.28);
}

.c2-pageHeader--banner .c2-pageHeader-inner{
  padding: 0 24px;
}

.c2-pageHeader--banner .c2-title,
.c2-pageHeader--banner .c2-kicker,
.c2-pageHeader--banner .c2-pageHeader-text{
  color: var(--offwhite);
}

.c2-pageHeader--banner .c2-rule{
  background: rgba(255,255,255,.55);
}

@media (max-width: 900px){
  .c2-pageHeader{
    padding: 100px 0 42px;
  }

  .c2-pageHeader--banner{
    min-height: 320px;
  }

  .c2-pageHeader--banner .c2-title{
    font-size: 34px;
  }
}

/* no-hero first section spacing */
body.no-hero .c2-first-section.is-at-top:not(.c2-pageHeader--banner){
  padding-top: var(--c2-header-clearance);
}

body.no-hero .c2-first-section:not(.is-at-top){
  padding-top: 0;
}

/* banner page header should not gain outer padding */
body.no-hero .c2-pageHeader--banner.c2-first-section.is-at-top{
  padding-top: 0;
}

body.no-hero .c2-pageHeader--banner.c2-first-section.is-at-top .c2-pageHeader-inner{
  padding-top: var(--c2-header-clearance);
}

/* default full hero */
.c2-hero--full{
  min-height: 100vh;
}

/* letterbox hero */
.c2-hero--letterbox{
  min-height: 450px;
}

/* mobile */
@media (max-width: 900px){
  .c2-hero--letterbox{
    min-height: 320px;
  }
}

/* =========================
   ICON GRID — LEFT ICON LAYOUT
========================= */
.c2-icongrid{
  max-width:1100px;
  margin:0 auto;
  padding:0 22px;
}

.c2-icons{
  margin-top:42px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:42px 42px;
  align-items:start;
}

.c2-iconitem{
  display:grid;
  grid-template-columns:56px 1fr;
  gap:16px;
  align-items:start;
  text-align:left;
}

.c2-iconbadge{
  width:56px;
  height:56px;
  border-radius:999px;
  border:2px solid currentColor;
  display:flex;
  align-items:center;
  justify-content:center;
}

.c2-iconbadge svg,
.c2-iconbadge img{
  width:22px;
  height:22px;
  display:block;
}

/* outline icons */
.c2-iconbadge svg{
  color:currentColor;
}

.c2-iconbadge svg *{
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:2 !important;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.c2-iconbody{
  text-align:left;
}

.c2-iconhead{
  margin:0 0 6px;
  font-family:var(--display);
  font-size:15px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:inherit;
}

.c2-iconcopy{
  margin:0;
  font-size:15px;
  line-height:1.7;
  color:inherit;
  opacity:.75;
  max-width:none;
}

.c2-iconcopy p{
  margin:0 0 8px;
}

.c2-iconcopy p:last-child{
  margin-bottom:0;
}

/* links should inherit text colour, not blue */
.c2-iconcopy a,
.c2-iconcopy a:visited{
  color:inherit;
  text-decoration:none;
}

.c2-iconcopy a:hover{
  opacity:.85;
}

/* Theme aware */
.c2-section--light .c2-iconitem,
.c2-section--alt .c2-iconitem{
  color:#111;
}

.c2-section--dark .c2-iconitem{
  color:var(--offwhite);
}

@media (max-width:1000px){
  .c2-icons{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

@media (max-width:640px){
  .c2-icons{
    grid-template-columns:1fr;
  }
}