/* ==========================================================================
   Fencing Salford — Design tokens
   ========================================================================== */
:root{
  --bg:       #0E0E12;
  --bg-2:     #17171D;
  --panel:    #1D1D24;
  --orange:   #F2751A;
  --orange-2: #E8622C;
  --white:    #FFFFFF;
  --off:      #E9E9EC;
  --slate:    #B7B7C2;
  --slate-2:  #8A8A96;
  --line:     rgba(242,117,26,0.22);
  --line-2:   rgba(255,255,255,0.08);

  --display: 'Anton', 'Archivo Black', Arial, sans-serif;
  --sans:    'Inter', Arial, sans-serif;
  --mono:    'IBM Plex Mono', 'Courier New', monospace;

  --container: 1200px;
  --radius: 4px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0; background: var(--bg); color: var(--off);
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--display); margin:0; font-weight:400; letter-spacing:0.01em; text-transform:uppercase; }
p{ margin:0; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
:focus-visible{ outline: 2px solid var(--orange); outline-offset: 3px; }

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

.eyebrow{
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--orange);
}

/* ==========================================================================
   Announcement bar + sub-bar
   ========================================================================== */
.announce-bar{
  background: var(--orange); color: var(--bg);
  font-family: var(--sans); font-size:13.5px; font-weight:700;
  text-align:center; padding:9px 16px;
}
.announce-bar a{ text-decoration: underline; }
.sub-bar{
  background: #000; border-bottom:1px solid var(--line-2);
  font-family: var(--mono); font-size:12px; letter-spacing:0.03em; color: var(--slate);
}
.sub-bar .wrap{ display:flex; align-items:center; justify-content:space-between; height:38px; }
.sub-bar .sub-left{ display:flex; align-items:center; gap:18px; }
.sub-bar .dot{ width:7px; height:7px; border-radius:50%; background: var(--orange); display:inline-block; }
.sub-bar .sub-phone{ display:flex; align-items:center; gap:6px; color: var(--off); }
.sub-bar .sub-phone svg{ width:14px; height:14px; color: var(--orange); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(14,14,18,0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-2);
}
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; height:82px; gap:20px; }
.logo{ display:flex; align-items:center; color: var(--white); flex-shrink:0; }
.logo-text{ display:flex; flex-direction:column; line-height:1.05; }
.logo-text strong{ font-family: var(--display); font-size:20px; letter-spacing:0.01em; color: var(--white); }
.logo-text span{ font-family: var(--mono); font-size:10px; letter-spacing:0.1em; text-transform:uppercase; color: var(--orange); }

.main-nav{ display:flex; align-items:center; gap:26px; }
.main-nav a{
  font-family: var(--mono); font-size:12.5px; letter-spacing:0.06em; text-transform:uppercase;
  color: var(--slate); position:relative; padding:6px 0; white-space:nowrap;
}
.main-nav a:hover, .main-nav a[aria-current="page"]{ color: var(--orange); }
.main-nav a[aria-current="page"]::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--orange); }

.header-actions{ display:flex; align-items:center; gap:16px; }
.header-phone{
  display:flex; align-items:center; gap:7px; color: var(--white);
  font-family: var(--mono); white-space:nowrap;
}
.header-phone svg{ width:16px; height:16px; flex-shrink:0; color: var(--orange); }
.header-phone .phone-number{ font-size:13px; font-weight:600; }
.header-phone:hover .phone-number{ color: var(--orange); }

.quote-btn{
  display:flex; align-items:center; gap:8px;
  background: var(--orange); color: var(--bg);
  font-family: var(--sans); font-size:13px; letter-spacing:0.01em; text-transform:uppercase;
  padding:12px 22px; border-radius: var(--radius); font-weight:800;
  transition: background 0.2s ease;
}
.quote-btn:hover{ background: var(--white); }

.nav-toggle{
  display:none; background:none; border:1px solid var(--line-2);
  width:42px; height:42px; align-items:center; justify-content:center; color: var(--white);
  border-radius: var(--radius); cursor:pointer; flex-shrink:0;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position:relative; background: linear-gradient(180deg, #16161C 0%, #0E0E12 100%);
  padding:90px 0 70px; overflow:hidden; border-bottom:1px solid var(--line-2);
}
.hero .wrap{ position:relative; z-index:2; }
.hero-flag{ display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.hero-flag .rule{ width:34px; height:2px; background: var(--orange); display:inline-block; }
.hero h1{ font-size: clamp(2.8rem, 6.5vw, 5.2rem); line-height:0.98; color: var(--white); }
.hero h1 .accent{ color: var(--orange); }
.hero-lead{ max-width:620px; margin-top:26px; font-size:1.08rem; color: var(--slate); font-family:var(--sans); }
.hero-actions{ display:flex; gap:16px; margin-top:34px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:10px; padding:15px 28px;
  font-family: var(--sans); font-size:14px; font-weight:800; letter-spacing:0.01em; text-transform:uppercase;
  border-radius: var(--radius); transition: all 0.2s ease;
}
.btn-primary{ background: var(--orange); color: var(--bg); }
.btn-primary:hover{ background: var(--white); }
.btn-outline{ border:1.5px solid var(--line-2); color: var(--white); }
.btn-outline:hover{ border-color: var(--orange); color: var(--orange); }

.hero-badges{
  display:grid; grid-template-columns: repeat(3,1fr); gap:1px; background: var(--line-2);
  border:1px solid var(--line-2); margin-top:56px;
}
.hero-badge{ background: var(--panel); padding:24px 22px; display:flex; gap:16px; align-items:flex-start; }
.hero-badge .badge-icon{
  width:46px; height:46px; flex-shrink:0; border-radius: var(--radius); background: rgba(242,117,26,0.12);
  display:flex; align-items:center; justify-content:center;
}
.hero-badge .badge-icon svg{ width:24px; height:24px; color: var(--orange); }
.hero-badge h3{ font-family: var(--sans); font-size:0.98rem; font-weight:800; text-transform:uppercase; color: var(--white); letter-spacing:0.01em; margin-bottom:6px; }
.hero-badge p{ font-family: var(--sans); font-size:0.86rem; color: var(--slate); line-height:1.5; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section{ padding:74px 0; }
.section-panel{ background: var(--panel); }
.section-head{ max-width: 660px; margin-bottom: 44px; }
.section-head h2{ font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-top:12px; color: var(--white); }
.section-head p{ margin-top:16px; color: var(--slate); font-size:1.02rem; font-family:var(--sans); }

.lead-copy{ display:grid; grid-template-columns: 1fr 1fr; gap:36px; }
.lead-copy p{ color: var(--slate); font-family:var(--sans); margin-bottom:14px; }
.lead-copy p:last-child{ margin-bottom:0; }

.services-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:1px; background: var(--line-2); border:1px solid var(--line-2); }
.service-card{ background: var(--panel); padding:34px 28px; }
.service-card .frame-icon{ width:44px; height:44px; margin-bottom:18px; color: var(--orange); }
.service-card h3{ font-family: var(--sans); font-size:1.15rem; font-weight:800; margin-bottom:10px; color: var(--white); text-transform:none; }
.service-card p{ color: var(--slate); font-size:0.95rem; margin-bottom:16px; font-family:var(--sans); }
.service-card .card-link{ font-family: var(--mono); font-size:12px; letter-spacing:0.03em; text-transform:uppercase; color: var(--orange); border-bottom:1px solid var(--orange); padding-bottom:2px; }
.service-card .card-link:hover{ color: var(--white); border-color: var(--white); }

.values-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:1px; background: var(--line-2); border:1px solid var(--line-2); }
.value-card{ background: var(--panel); padding:26px; }
.value-card h3{ font-family: var(--sans); font-size:1.05rem; font-weight:800; margin-bottom:8px; color: var(--white); text-transform:none; }
.value-card p{ color: var(--slate); font-size:0.92rem; font-family:var(--sans); }

/* FAQ */
.faq-list{ max-width:820px; }
.faq-item{ border-bottom:1px solid var(--line-2); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center;
  padding:22px 0; font-family: var(--sans); font-size:1.02rem; font-weight:700; color: var(--white);
}
.faq-q .plus{ font-family: var(--sans); font-size:1.4rem; color: var(--orange); transition: transform 0.2s ease; flex-shrink:0; margin-left:16px; }
.faq-item[aria-expanded="true"] .plus{ transform: rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height 0.25s ease; }
.faq-item[aria-expanded="true"] .faq-a{ max-height:400px; }
.faq-a-inner{ padding-bottom:22px; }
.faq-a-inner p{ color: var(--slate); font-family:var(--sans); font-size:0.96rem; }

/* CTA band */
.cta-band{ background: var(--orange); padding:58px 0; }
.cta-band h2{ color: var(--bg); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-actions{ margin-top:26px; display:flex; gap:16px; flex-wrap:wrap; }
.cta-band .btn-primary{ background: var(--bg); color: var(--orange); }
.cta-band .btn-primary:hover{ background: var(--white); color:var(--bg); }
.cta-band .btn-outline{ border-color: rgba(14,14,18,0.4); color: var(--bg); }
.cta-band .btn-outline:hover{ border-color: var(--bg); }

/* Photo gallery */
.photo-gallery{ display:grid; grid-template-columns: repeat(4,1fr); gap:16px; }
.photo-gallery figure{ margin:0; position:relative; overflow:hidden; border-radius: var(--radius); background: var(--panel); border:1px solid var(--line-2); }
.photo-gallery .photo-frame{ aspect-ratio: 4/5; overflow:hidden; }
.photo-gallery img{ width:100%; height:100%; object-fit:cover; display:block; transition: transform 0.5s ease; }
.photo-gallery figure:hover img{ transform: scale(1.05); }
.photo-gallery figcaption{ font-family: var(--mono); font-size:11.5px; letter-spacing:0.02em; color: var(--slate); padding:10px 12px; background: var(--panel); }

.featured-work{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.featured-work figure{ margin:0; overflow:hidden; border-radius: var(--radius); border:1px solid var(--line-2); background: var(--panel); }
.featured-work .photo-frame{ aspect-ratio: 4/5; overflow:hidden; }
.featured-work img{ width:100%; height:100%; object-fit:cover; display:block; }
.featured-work figcaption{ font-family: var(--mono); font-size:11.5px; padding:10px 12px; color: var(--slate); background: var(--panel); }

/* Coverage / area cards */
.area-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:1px; background: var(--line-2); border:1px solid var(--line-2); }
.area-card{ display:block; background: var(--panel); padding:24px 22px; }
.area-card h3{ font-family:var(--sans); font-size:1.05rem; font-weight:800; color: var(--white); margin-bottom:4px; text-transform:none; }
.area-card .area-postcode{ font-family: var(--mono); font-size:11.5px; letter-spacing:0.06em; color: var(--orange); text-transform:uppercase; }
.area-card p{ color: var(--slate); font-size:0.9rem; margin-top:10px; font-family:var(--sans); }
.area-card .card-link{ display:inline-block; margin-top:12px; font-family: var(--mono); font-size:12px; letter-spacing:0.03em; text-transform:uppercase; color: var(--orange); border-bottom:1px solid var(--orange); padding-bottom:2px; }
.area-card:hover .card-link{ color: var(--white); border-color: var(--white); }

.area-cards-home{ display:grid; grid-template-columns: repeat(5,1fr); gap:14px; }
.area-cards-home a{ display:block; text-align:center; background: var(--panel); border:1px solid var(--line-2); border-radius: var(--radius); padding:16px 10px; font-family: var(--sans); font-weight:800; color: var(--white); font-size:0.9rem; }
.area-cards-home a:hover{ border-color: var(--orange); color: var(--orange); }
.area-cards-home a span{ display:block; font-family: var(--mono); font-size:10.5px; color: var(--orange); text-transform:uppercase; letter-spacing:0.05em; margin-top:4px; font-weight:400; }

/* Footer */
.site-footer{ background:#000; padding-top:56px; border-top:1px solid var(--line-2); }
.footer-grid{ display:grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr; gap:32px; padding-bottom:32px; border-bottom:1px solid var(--line-2); }
.footer-brand p{ color: var(--slate-2); font-size:0.92rem; margin-top:14px; font-family:var(--sans); max-width:280px; }
.footer-col h5{ font-family: var(--mono); font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase; color: var(--orange); margin-bottom:16px; }
.footer-col ul li{ margin-bottom:10px; }
.footer-col ul a, .footer-col ul li{ color: var(--slate); font-size:0.92rem; font-family:var(--sans); }
.footer-col ul a:hover{ color: var(--orange); }
.footer-bottom{ display:flex; justify-content:space-between; padding:24px 0; font-family: var(--mono); font-size:11.5px; color: var(--slate-2); }

@media (max-width: 980px){
  .lead-copy{ grid-template-columns:1fr; }
  .services-grid{ grid-template-columns:1fr 1fr; }
  .values-grid{ grid-template-columns:1fr 1fr; }
  .hero-badges{ grid-template-columns:1fr; }
  .photo-gallery{ grid-template-columns: repeat(2,1fr); }
  .featured-work{ grid-template-columns:1fr; }
  .area-grid{ grid-template-columns: repeat(2,1fr); }
  .area-cards-home{ grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .sub-bar{ display:none; }
}
@media (max-width: 760px){
  .main-nav{
    position:fixed; inset: 82px 0 0 0; background: var(--bg);
    flex-direction:column; align-items:flex-start; padding: 32px 28px; gap:22px;
    transform: translateX(100%); transition: transform 0.25s ease; overflow-y:auto;
  }
  .main-nav.open{ transform: translateX(0); }
  .nav-toggle{ display:flex; }
  .services-grid{ grid-template-columns:1fr; }
  .values-grid{ grid-template-columns:1fr; }
  .photo-gallery{ grid-template-columns: 1fr 1fr; gap:10px; }
  .area-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:28px; }
  .footer-bottom{ flex-direction:column; gap:8px; }
  .header-phone .phone-text{ display:none; }
  .quote-btn span{ display:none; }
  .quote-btn{ padding:12px 16px; }
}
