:root{
  --bg:#0f0f10;
  --panel:#1b1b1c;
  --muted:#e9ebed;
  --accent:#d4af37;
  --max-width:1200px;
  --radius:10px;
  --tile-size:120px; /* size of each decorative tile */
  --tile-radius:12px; /* simulated corner rounding for decorative tiles */
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  /* base gradient sits under a decorative tile layer provided by ::before */
  background:linear-gradient(180deg,var(--bg),#0b0b0c);
  color:#fff;
  -webkit-font-smoothing:antialiased;
  position:relative;
}

/* Decorative tile layer: uses an SVG of rounded rectangles to simulate tiles
   and a mask to fade the pattern out toward the bottom. Kept pointer-events:none so
   it doesn't interfere with page interaction. */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  /* SVG data-uri draws a single rounded-rect which will be repeated to form tiles */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Crect x='1' y='1' width='118' height='118' rx='6' ry='6' fill='%23ffffff' fill-opacity='0.06'/%3E%3C/svg%3E");
  background-size: var(--tile-size) var(--tile-size);
  background-position: 0 0;
  background-repeat: repeat;
  opacity:0.55;
  filter:blur(.45px);
  /* fade the decorative layer toward the bottom so it doesn't compete with content */
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.9) 45%, rgba(0,0,0,0.45) 75%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.9) 45%, rgba(0,0,0,0.45) 75%, rgba(0,0,0,0) 100%);
}

/* ensure content layers above the decorative background */
header, main, footer, .site-header, .service, .team-member, .logo-placeholder{position:relative; z-index:1}

.service{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), var(--panel));
  padding:18px;
  border-radius:14px;
  text-align:center;
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease;
}
.service:hover{transform:translateY(-6px); box-shadow:0 18px 40px rgba(0,0,0,0.6)}

body{
  margin:0;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  /* layered background: vertical lines, horizontal lines, then base gradient */
  background:
    linear-gradient(100deg,var(--bg),#0b0b0c);
  color:#fff;
  -webkit-font-smoothing:antialiased;
}
.site-header{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  max-width:var(--max-width);
  margin:20px auto;
  padding:0 20px;
  position:relative;
}
.nav-toggle-input{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}
.nav-toggle-label{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:44px;
  height:44px;
  padding:10px;
  cursor:pointer;
  border-radius:var(--radius);
  background:var(--panel);
  box-shadow:0 4px 12px rgba(0,0,0,0.4);
}
.nav-toggle-label span{
  display:block;
  height:3px;
  background:var(--muted);
  border-radius:2px;
  transition:transform .25s ease, opacity .25s ease;
}
.nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(1){
  transform:translateY(8px) rotate(45deg);
}
.nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(2){
  opacity:0;
}
.nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(3){
  transform:translateY(-8px) rotate(-45deg);
}
.logo-placeholder{
  width:190px;
  height:190px;
  padding:16px;
  background:linear-gradient(135deg,#222,#111);
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  font-weight:800;
  color:var(--muted);
  box-shadow:0 6px 24px rgba(0,0,0,0.6);
  overflow:hidden;
  flex-shrink:0;
  margin-right: 10px;
}
.logo-placeholder img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  padding:0;
}
.main-nav a:not(.cta){
  color:var(--muted);
  text-decoration:none;
  margin-right:18px;
  font-weight:600;
  white-space: nowrap;
  line-height: 35px;
}
.hero{
  max-width:var(--max-width);
  margin:10px auto 40px;
  position:relative;
  min-height:520px;
  display:flex;
  align-items:center;
  padding:20px;
  overflow:hidden;
  border-radius:12px;
}
.hero-content{
  position:relative;
  z-index:2;
  padding:36px;
  color:#fff;
  max-width:640px;
}
/* dark overlay */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5));
  z-index:1;
  pointer-events:none;
}
.hero-video{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-video video{
  width:100%;
  height:100%;
  object-fit:cover; /* crop to fill */
  object-position:center center; /* centre the crop */
  display:block;
}
.hero-video img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.hero h1{
  margin:0 0 8px 0;
  font-size:48px;
  letter-spacing:1px;
  line-height:1.05;
}
.hero p{
  color:var(--muted);
  margin:0 0 18px 0;
  max-width:60ch;
}
.hero .btn, .cta{
  display:inline-block;
  background:var(--accent);
  color:#111;
  padding:12px 20px;
  border-radius:6px;
  text-decoration:none;
  text-align: center;
  font-weight:700;
  box-shadow:0 6px 18px rgba(0,0,0,0.5);
  transition:transform .22s ease, box-shadow .22s ease;
}
.cta:hover{transform:translateY(-6px); box-shadow:0 18px 40px rgba(0,0,0,0.6)}

@media (max-width:900px){
  .hero{min-height:420px}
  .hero-content{padding:22px}
}

@media (max-width:520px){
  .hero-content{padding:16px}
  .hero h1{font-size:32px}
  .hero .btn, .cta{
    padding:10px 14px;
    margin-top: 5px;
  }
}
.section{
  max-width:var(--max-width);
  margin:40px auto;
  padding:20px;
}
h2{
  margin:0 0 16px 0;
  font-size:28px;
}
.services{
  max-width:var(--max-width);
  margin:40px auto;
  padding:20px;
}
.service-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.service{
  background:var(--panel);
  padding:18px;
  border-radius:14px;
  text-align:center;
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease;
}
.service:hover{transform:translateY(-6px); box-shadow:0 18px 40px rgba(0,0,0,0.6)}
.story, .team, .shop, .testimonials, .contact{
  max-width:var(--max-width);
  margin:40px auto;
  padding:20px;
  background:transparent;
}
.shop-layout{
  display:grid;
  grid-template-columns:minmax(280px, 1fr) 1fr;
  gap:28px;
  align-items:center;
}
.shop-photo{
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--panel);
  max-height:420px;
}
.shop-photo img{
  width:100%;
  height:100%;
  max-height:420px;
  object-fit:cover;
  display:block;
  vertical-align:top;
  transition:transform .4s ease;
}
.shop-photo:hover img{transform:scale(1.1)}
.shop-content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:300px;
}
.shop-content p{
  color:var(--muted);
  line-height:1.6;
  margin:0 0 1em 0;
}
.shop-address{
  margin-top:1.25em;
  padding:14px 18px;
  background:var(--panel);
  border-radius:8px;
  font-size:1rem;
}
.shop-address strong{color:#fff}
@media (max-width:700px){
  .shop-layout{grid-template-columns:1fr; align-items:stretch}
  .shop-photo{order:0; max-height:300px}
  .shop-content{order:1; min-height:0}
}
.story p{
  color:var(--muted);
  line-height:1.6;
  font-size: 1.25rem;
  text-align: justify;
}
.team-grid{
  display:flex;
  gap:20px;
}
.team-member{
  background:var(--panel);
  padding:14px;
  border-radius:10px;
  text-align:center;
  flex:1;
}
.avatar{
  width:72px;
  height:72px;
  border-radius:50%;
  background:linear-gradient(135deg,#2a2a2b,#161616);
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 12px;
  font-weight:700;
}
.testimonials blockquote{
  background:var(--panel);
  padding:14px 18px;
  border-radius:8px;
  color:var(--muted);
  margin:12px 0;
  font-size: 1.2rem;
  line-height: 1.4;
}
.contact-form{
  display:grid;
  gap:10px;
  max-width:560px;
}
.contact-form input, .contact-form textarea{
  padding:10px;
  border-radius:8px;
  border:1px solid #222;
  background:#0b0b0c;
  color:#fff;
}
.site-footer{
  background:#000;
  text-align:center;
  padding:50px 0 20px;
  color:var(--muted);
}

.footer-logo{
  margin-bottom:40px;
}

.footer-logo img{
  width:145px;
  height:auto;
  display:block;
  margin:0 auto 12px;
}
.built-by{
  margin-top:10px;
  font-size:12px;
  color:#6f6f6f;
}
.built-by a{color:#6f6f6f; text-decoration:none}
.built-by a:hover{text-decoration:underline}

@media (max-width:900px){
  .hero{grid-template-columns:1fr;}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .team-grid{flex-direction:column}
  /* Collapsed header: small logo + hamburger, nav in dropdown */
  .site-header{padding:12px 20px; margin:12px auto}
  .logo-placeholder{width:120px; height:120px; padding:8px; margin-right:0}
  .nav-toggle-label{display:flex; order:2; margin-left:auto}
  .main-nav{
    display:none;
    order:3;
    width:100%;
    flex-direction:column;
    gap:0;
    padding:16px 0 8px;
    margin-top:8px;
    border-top:1px solid rgba(255,255,255,0.08);
  }
  .main-nav a{
    display:block;
    padding:12px 0;
    margin:0;
    border-bottom:1px solid rgba(255,255,255,0.06);
  }
  .main-nav a:last-child{border-bottom:none}
  .nav-toggle-input:checked ~ .main-nav{display:flex}
}

@media (max-width:520px){
  .service-grid{grid-template-columns:1fr}
  .logo-placeholder{width:120px; height:120px}
  .hero h1{font-size:32px}
}

@media (min-width:900px){
  .testimonials-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    align-items:start;
    max-width:var(--max-width);
  }
  .testimonials-grid blockquote{margin:0}
}

.service .icon{
  height:84px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
  line-height:1;
}
.service .icon svg{
  width:64px;
  height:64px;
  display:block;
  margin:0 auto;
  stroke-width:2;
  stroke:currentColor;
  fill:none;
}

@media (max-width:520px){
  .service .icon{height:64px}
  .service .icon svg{width:44px;height:44px}
}
.contact{
  display:block;
}
.contacts{
  display:flex;
  gap:20px;
  max-width:760px;
}
.contact-card{
  background:var(--panel);
  padding:18px;
  border-radius:10px;
}
.contact-card h3{margin:0 0 6px 0}
.contact-card a{color:var(--accent); text-decoration:none}

@media (max-width:700px){
  .contacts{flex-direction:column}
}
.our-work{
  max-width:var(--max-width);
  margin:40px auto;
  padding:20px;
}
.mosaic{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:8px;
}
.mosaic-item{
  overflow:hidden;
  border-radius:10px;
  height:460px;
  grid-column:auto !important;
  grid-row:auto !important;
}
.mosaic-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .4s ease;
}
.mosaic-item:hover img{transform:scale(1.1)}

@media (max-width:900px){
  .mosaic{grid-template-columns:repeat(2,1fr)}
  .mosaic-item{height:440px}
}

@media (max-width:520px){
  .mosaic{grid-template-columns:1fr}
  .mosaic-item{height:400px}
}
