    @import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap");

    :root {
		--container-max: 1170px;
		--header-height: 125px;
		--header-bg: #ffffff;
		--text: #444;
		--muted: #666;
		--footer-bg: #000000;
		--footer-text: #f2f2f2;
		--accent: #0a0a0a;
		--highlight: #f47323;
		}

    * { 
		box-sizing: border-box; 
		}
    
	html, body { 
		height: 100%; 
		}
		
    html { 
		scroll-behavior: smooth; 
		}
		
    body {
		margin: 0;
		font-family: 'Quicksand', sans-serif;
		color: var(--text);
		background: #fff;
		line-height: 1.5;
		}
		
		body.pfade{
			transition: opacity 3s ease-out; /* CSS transition for fade out */
		}

    /* Give anchor targets some space so the fixed header doesn't cover them */
    section { 
		scroll-margin-top: var(--header-height); 
		}

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

    /* Fixed Header */
    header.site-header {
		position: fixed; /* persistent across browsers */
		top: 0; left: 0; right: 0;
		z-index: 9999;
		background: var(--header-bg);
		}
		
    .header-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: var(--header-height);
		gap: 16px;
		}
		
    .logo img {
		width: 190px;
		height: auto;
		object-fit: contain;
		display: block;
		}

    /* This spacer reserves layout so content starts exactly under the fixed header */
    .header-spacer { 
		height: var(--header-height); 
		}

    /* Nav */
    .nav {
		display: flex;
		align-items: center;
		gap: 24px;
		list-style: none;
		margin: 0;
		padding: 0;
		}
		
    .nav a {
		text-decoration: none;
		color: var(--text);
		font-weight: 500;
		padding: 8px 4px;
		text-transform: lowercase;
		letter-spacing: .04em;
		}

    .nav a:hover { 
		text-decoration: underline; 
	}
	
	.nav a.active { 
		color: #f68d4c; 
		}								 

    .menu-toggle { 
		display: none; 
		background: transparent; 
		border: 0; 
		padding: 10px; 
		cursor: pointer; 
		}
		
    .menu-toggle .bar { 
		display: block; 
		width: 26px; 
		height: 2px; 
		background: #000; 
		margin: 6px 0;
		}

    /* Slider */
    .slider { position: relative; width: 100%; overflow: hidden; background: #ddd; margin-top: 0; }
    .slides { position: relative; width: 100%; height: 100%; }
    .slide { position: absolute; inset: 0; display: block; color: #fff; opacity: 0; transition: opacity .6s ease; will-change: opacity; }
    .slide.bg1 { background: url('images/slider-00.jpg') center/cover no-repeat; }
    .slide.bg2 { background: url('images/slider-01.jpg') center/cover no-repeat; }
    .slide.bg3 { background: url('images/slider-02.jpg') center/cover no-repeat; }

    /* Keep gradient overlay behind text */
    .slide-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.45)); z-index: 0; }

    /* Corner-aligned heading groups */
    .slide-top, .slide-bottom { position: absolute; left: 0; width: 100%; z-index: 2; }
    .slide-top { top: clamp(16px, 3vw, 40px); }
    .slide-bottom { bottom: clamp(16px, 3vw, 40px); }
    .slide-top .container, .slide-bottom .container { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
    .slide-top h2 { margin: 0 0 4px; font-weight: 500; font-size: clamp(1.5rem, 2.2vw + 1rem, 3rem); }
    .slide-top h3 { margin: 0; font-weight: 500; color: #fff;font-size: clamp(1rem, 1.2vw + .8rem, 1.5rem); letter-spacing: .02em; }
	.slide-top h3.standaway{padding-top: 40px;width: 300px;}
	.slide-bottom h4 { color: #fff; }
    

    /* Active slide visible */
    .slide.active { opacity: 1; }

    /* Right-side decorative overlay image (outside container) */
    .slide-deco { position: absolute; top: 0; right: 0; bottom: 0; width: min(50vw, 720px); background: url('images/slide-back.png') right center / contain no-repeat; pointer-events: none; z-index: 1; }

    /* Sections */
    section.full-bg { position: relative; z-index: 0; padding: clamp(48px, 6vw, 96px) 0; color: var(--text); }
    section.full-bg::before { content: ""; position: absolute; inset: 0; background: transparent; z-index: -1; }
    section.full-bg .container { position: relative; z-index: 1; }
    .bg-a { background: url('images/bg-me.jpg') left bottom / auto no-repeat; }
	.bg-b { background: url('images/bg-style.jpg') right bottom / auto no-repeat; }
	.bg-c { background: url('images/bg-substance.jpg') left bottom / auto no-repeat; }
	
	.bg-e, .tel-bgr { background: url('images/contact-tel-alt.png') right bottom / auto no-repeat; }
	
	h1, h2, h3, h4, h5, h6{
		font-weight: 500;
		}
		
	section h2{
		font-size: 1.8em;
	}
	
	section h3, section h4{
		color: var(--highlight);
		}

    /* STYLE section: in-container gallery scroller (one long track masked by viewport) */
    #style { --cols: 6; --rows: 3; --gap: 10px; /* grid paging vars */ }
    #style .style-viewport { position: relative; width: 100%; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scrollbar-width: none; }
    #style .style-viewport::-webkit-scrollbar { display: none; }
    #style .style-viewport::-webkit-scrollbar { display: none; }
    #style .thumb-grid {
      display: grid;
      grid-template-rows: repeat(var(--rows), var(--cell-h, 120px));
      grid-auto-flow: column;
      grid-auto-columns: var(--cell-w, 200px);
      gap: var(--gap);
      align-items: stretch;
      width: max-content; /* track expands horizontally */
    }
    #style .thumb { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 6px; cursor: zoom-in; }
    #style .thumb { aspect-ratio: 4 / 3; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 6px; cursor: zoom-in; }

    /* Chevron controls */
    #style .s-arrow { position: absolute; top: 60%; transform: translateY(-50%); background: #f68d4c; border: 0; color: #fff; padding:10px 15px; border-radius: 20px; cursor: pointer; z-index: 5; }
    #style .s-prev { left: 30px; }
    #style .s-next { right: 30px; }

    /* Responsive: 3 x 3 on small screens */
    @media (max-width: 800px) {
      #style { --cols: 3; --rows: 3; /* mobile grid */ }
    }

    /* Lightbox */
    .lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: none !important; align-items: center; justify-content: center; z-index: 10000; }
    .lightbox.open { display: flex !important; }
    .lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
    .lightbox .lb-close { position: fixed; top: 16px; right: 16px; background: transparent; color: #fff; border: 0; font-size: 28px; cursor: pointer; }
    .lightbox .lb-prev, .lightbox .lb-next { position: fixed; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: #fff; font-size: 28px; cursor: pointer; }
    .lightbox .lb-prev { left: 24px; }
    .lightbox .lb-next { right: 24px; }

    /* SUBSTANCE layout */
    #substance .substance-grid { display: grid; grid-template-columns: 3fr 1fr; gap: clamp(16px, 3vw, 32px); align-items: start; }
	#substance .substance-grid:first-of-type{
		border-bottom: 1px solid #444;
		margin-bottom: clamp(16px, 3vw, 32px);
		}
	 #substance .col-side:first-of-type{
	 padding-bottom: clamp(16px, 3vw, 32px);
	 }
    #substance .substance-grid > * { align-self: start; }
    #substance .video-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: clamp(16px, 2vw, 24px); align-items: stretch; }
    #substance .video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; }
    #substance .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
    #substance .video-desc h4 { margin: 0 0 4px; } #substance .col-side h4 { margin-top: 0; }
    #substance .skills { margin: 8px 0 0; padding-left: 18px; list-style-position: outside; }

    /* SUBSTANCE images: make image blocks fill their grid cell */
    #substance .image-embed { position: relative; width: 100%; border-radius: 8px; overflow: hidden; min-height: 100%; }
    #substance .image-embed img, #substance .video-embed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
    #substance .video-desc img { width: 100%; height: auto; display: block; border-radius: 8px; }

    @media (max-width: 1000px) {
      #substance .substance-grid { grid-template-columns: 1fr; }
      #substance .col-side { order: 2; }
      #substance .col-main { order: 1; }
    }
    @media (max-width: 700px) {
      #substance .video-row { grid-template-columns: 1fr; }
    }

    /* Lightbox */
    .lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: none !important; align-items: center; justify-content: center; z-index: 10000; }
    .lightbox.open { display: flex !important; }
    .lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
    .lightbox .lb-close { position: fixed; top: 16px; right: 16px; background: transparent; color: #fff; border: 0; font-size: 28px; cursor: pointer; }
    .lightbox .lb-prev, .lightbox .lb-next { position: fixed; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: #fff; font-size: 28px; cursor: pointer; }
    .lightbox .lb-prev { left: 24px; }
    .lightbox .lb-next { right: 24px; }

    /* RECOGNITION layout */
    #recognition .rec-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(16px, 3vw, 32px); align-items: start; }
    #recognition .rec-media { align-self: start; }
    #recognition .rec-media .rec-img { width: 100%; height: auto; display: block; border-radius: 8px; }
    #recognition .rec-content h4 { margin: 0 0 8px; }
    #recognition .rec-content ul { margin: 0 0 16px; padding-left: 18px; }
    #recognition blockquote { margin: 16px 0 0; font-style: italic; color: #666; border-left: 3px solid #f68d4c; padding-left: 12px; }
    @media (max-width: 1000px) {
      #recognition .rec-grid { grid-template-columns: 1fr; }
    }

    /* CONTACT layout */
    #contact .contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(16px, 3vw, 32px); align-items: start; }
    #contact .contact-info p { margin: 0 0 10px; }
    #contact form { display: grid; gap: 12px; }
    #contact .field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    #contact label { display: block; font-weight: 600; margin-bottom: 6px; color: #444; }
    #contact input, #contact textarea { width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px; font: inherit; color: var(--text); background: #fff; }
    #contact input:focus, #contact textarea:focus { outline: none; border-color: #f68d4c; box-shadow: 0 0 0 3px rgba(246,141,76,.2); }
    #contact .btn-submit { background: #f68d4c; color: #fff; border: 0; padding: 12px 18px; border-radius: 8px; font-weight: 700; cursor: pointer; }
    #contact .btn-submit:hover { filter: brightness(0.95); }
    #contact .form-note { margin: 4px 0 0; color: #777; font-size: .9rem; }
    @media (max-width: 1000px) {
      #contact .contact-grid { grid-template-columns: 1fr; }
    }
	.contact-form{
		    position:relative;
    display: inline-block;
}

.hidelogo{
position: absolute;
  width: 160px;
  height: 70px;
  background: #fff;
  right: 38%;
  bottom: 40px;
  z-index: 999;
  display: block;
  color: #fff;
}

.tel-bgr{
	position: absolute;
	bottom: 0;
	right: 0;
	width: 500px;
	height: 300px;
	z-index: 10;
}

    /* ME collage gallery (even masonry-style within a fixed rectangle) */
    .me-gallery { margin-bottom: clamp(16px, 2.5vw, 32px); }
    .me-gallery .gallery-grid { 
      display: grid; 
      grid-template-columns: repeat(4, 1fr); 
      grid-template-rows: repeat(6, 1fr); 
      gap: 8px; 
      aspect-ratio: 8 / 3; 
      width: 100%; 
      border-radius: 8px;
      overflow: hidden;
    }
    .me-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
    /* Tile mapping for 5 images */
    .me-gallery .i1 { grid-column: 1 / span 2; grid-row: 1 / span 6; }
    .me-gallery .i2 { grid-column: 3 / span 1; grid-row: 1 / span 3; }
    .me-gallery .i3 { grid-column: 4 / span 1; grid-row: 1 / span 3; }
    .me-gallery .i4 { grid-column: 3 / span 1; grid-row: 4 / span 3; }
    .me-gallery .i5 { grid-column: 4 / span 1; grid-row: 4 / span 3; }

    @media (max-width: 800px) {
      /* Taller aspect on mobile so tiles remain legible */
      .me-gallery .gallery-grid { aspect-ratio: 5 / 2; gap: 3px; }
      .me-gallery { margin-bottom: 16px; }
    }

    /* Remove overlays on Me & Style, and give room below copy so images sit underneath */
    #me::before, #style::before { background: transparent; }
    #me { padding-bottom: clamp(120px, 6vw, 240px); }
    #style { padding-bottom: clamp(300px, 20vw, 450px); }

    /* Footer */
    footer.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 40px 0; margin-top: 40px; }
    .footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
    .footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 20px; }
    .footer-nav a { color: var(--footer-text); text-decoration: none; text-transform: uppercase; letter-spacing: .04em; }
    .footer-nav a:hover { text-decoration: underline; }
    .copyright { color: #aaa; font-size: .95rem; }

    /* Full-viewport slider under fixed header */
    .slider { height: calc(100vh - var(--header-height)); }
    @supports (height: 100svh) {
      .slider { height: calc(100svh - var(--header-height)); }
    }
    @supports (height: 100dvh) {
      .slider { height: calc(100dvh - var(--header-height)); }
    }

    @media (max-width: 1024px) { .slider { height: calc(80vh - var(--header-height)); } }
    @media (max-width: 800px) {
      .menu-toggle { display: inline-block; }
      nav.primary { position: fixed; inset: var(--header-height) 0 auto 0; background: var(--header-bg); border-top: 1px solid #eee; transform: translateY(-8px); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
      nav.primary.open { max-height: 60vh; }
      .nav { flex-direction: column; align-items: flex-start; padding: 16px; }
      .slider { height: calc(70vh - var(--header-height)); }
    }
  
    /* Slider arrows */
    .slider .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: transparent;
      border: none;
      box-shadow: none;
      color: #fff; /* visible over the slide overlay */
      padding: 8px;
      z-index: 3;
      cursor: pointer;
      user-select: none;
    }
    .slider .arrow-left { left: 24px; }
    .slider .arrow-right { right: 24px; }
    .slider .arrow i { font-size: 28px; line-height: 1; }
    .slider .arrow:focus { outline: 2px solid #000; outline-offset: 2px; }
    @media (max-width: 800px) { .slider .arrow i { font-size: 24px; } }
	
	
	    main {
      min-height: calc(100vh - var(--header-height));
      display: flex;
      align-items: center;
      justify-content: center;
      padding: clamp(48px, 6vw, 96px) 16px;
    }
    .thankyou-card {
      max-width: 680px;
      width: min(100%, 680px);
      background: #fff;
      border: 1px solid #eee;
      border-radius: 16px;
      padding: clamp(32px, 4vw, 48px);
      text-align: left;
      box-shadow: 0 16px 40px rgba(0,0,0,.03);
    }
    .thankyou-tag {
      display: inline-block;
      background: rgba(246, 141, 76, .12);
      color: #c05d26;
      font-weight: 600;
      padding: 6px 14px;
      border-radius: 999px;
      font-size: .75rem;
      text-transform: uppercase;
      letter-spacing: .08em;
      margin-bottom: 16px;
	}
	
	.thankyou-card h1 {
      margin: 0 0 12px;
      font-size: clamp(2rem, 2.2vw + .5rem, 2.6rem);
      line-height: 1.05;
      letter-spacing: -.01em;
    }
    .thankyou-card p {
      margin: 0 0 1rem;
      line-height: 1.6;
    }
    .thankyou-card .meta {
      font-size: .9rem;
      color: #777;
      margin-bottom: 24px;
    }
    .thankyou-card .btn-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }
    .thankyou-card .btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border: 0;
      background: var(--accent);
      color: #fff;
      text-decoration: none;
      padding: 10px 16px;
      border-radius: 10px;
      font-weight: 600;
      cursor: pointer;
    }
    .thankyou-card .btn-secondary {
      background: #fff;
      border: 1px solid #ddd;
      color: #444;
    }