:root{
  --bg:#ffffff;
  --text:#0b0b0b;
  --muted:#5f5f5f;
  --brand:#5b5efe;
  --card:#f5f6f8;
  --border:#e7e7ea;
  --dark:#0a0a0a;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block;border-radius: 12px;}
.container{width:min(1200px,92vw);margin-inline:auto}

/* ——— NAV ——— */
.nav{position:sticky;top:0;z-index:50;background:#fff9;backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--border)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:0.2px}
.brand .mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 3px; /* optional: for spacing inside the circle */
}

.brand .mark img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.nav-links{display:flex;align-items:center;gap:22px;font-weight:600; font-size: 15px;}
.nav-links a{opacity:.86}
.nav-links a:hover{opacity:1}
.cart{display:inline-flex;gap:6px;align-items:center;padding:8px 12px;border:1px solid var(--border);border-radius:10px}
.cart svg{width:18px;height:18px}
.menu-btn{display:none;border:1px solid var(--border);background:#fff;border-radius:10px;padding:8px 10px}

@media (max-width:900px){
  .nav-links{display:none}
  .menu-btn{display:inline-flex;   color:#000000;
  -webkit-text-fill-color:#000000; }
  .nav.open .nav-links{position:absolute;left:0;right:0;top:60px;background:#fff;border-bottom:1px solid var(--border);display:grid;gap:11px;padding-left: 12%;}
  .nav.open .nav-links .cart{justify-self:start}
}
/* make buttons able to show the sheen animation */
.btn{
  position: relative;
  overflow: hidden;
  transition: background .35s ease, box-shadow .35s ease, 
              transform .25s ease, color .35s ease, border-color .35s ease;
}

/* Glass style like the nav bar */
.btn.glass{
  background: rgba(0, 0, 0, 0.911);               /* #fff9 style */
  color: rgb(247, 247, 247);
  border-color: rgba(0, 0, 0, 0.723);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.65),
              0 4px 16px rgba(0,0,0,.08);
}

/* Hover / focus state – a bit brighter + lift */
.btn.glass:hover,
.btn.glass:focus-visible{
    color: rgb(29, 29, 29);
  background: rgba(255,255,255,0.75);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8),
              0 8px 24px rgba(0,0,0,.12);
}

/* Pressed */
.btn.glass:active{
  transform: translateY(0);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.06);
}

/* Optional animated “sheen” sweep on hover */
.btn.glass::before{
  content:"";
  position:absolute;
  inset:-1px;                       /* cover edges */
  border-radius: inherit;
  background: linear-gradient(120deg,
              transparent 0%,
              rgba(255,255,255,.55) 45%,
              rgba(255,255,255,.85) 50%,
              transparent 55%);
  transform: translateX(-150%);
  transition: transform .75s ease;
  pointer-events:none;
}
.btn.glass:hover::before{ transform: translateX(150%); }

/* ——— HERO ——— */
.hero{ border-bottom:1px solid var(--border);}
.hero h1{font-size:clamp(44px,9vw,88px);line-height:0.96;margin:0 0 18px;font-weight:900;letter-spacing:-1.5px}
/*.hero-top{display:grid;grid-template-columns:1fr auto;align-items:start;gap:24px}*/
/* If you want the Welcome text under the headline like screenshot 2, replace the line above with: */
 .hero-top{display:block;} 
.hero-sub{max-width:560px;font-size:14px;color:#222}
.cta{margin-top:16px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border-radius:12px;border:1px solid var(--text);font-weight:700}
.btn.primary{background:var(--text);color:#fff;border-color:var(--text); font-weight: 600;}
.hero-media{margin-top:28px;display:grid;grid-template-columns:1fr 1.2fr;gap:22px}


.frame {


  border-radius: 14px;
  overflow: hidden;
  
}

.frame.tall {
  min-height: auto; /* remove enforced height */
   /* reduce box width */
  margin: 0 auto;    /* center inside grid cell */
}

.hero-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

@media (max-width:900px){
  .hero-top{grid-template-columns:1fr}
  .hero-media{grid-template-columns:1fr;gap:16px}
}
.hero-media img {
  width: 300px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.hero-media .frame img:first-of-type {
  width: 100%;
  height: auto;
  object-fit: cover;
}


/* Base cart keeps its size */
.cart{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:10px;
  color:inherit;
  line-height:1;
  position:relative;          /* needed for sheen */
  overflow:hidden;            /* clip sheen */
  transition: background .35s ease, box-shadow .35s ease,
              transform .25s ease, color .35s ease, border-color .35s ease;
}
.cart svg{ width:18px; height:18px; flex:0 0 auto; }

/* Glass style like your header */
.cart.glass2{
  background: rgb(253,253,253);
  color: #000;
  border-color: rgba(0,0,0,0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: inset 0 1px 0 rgba(244,244,244,.65),
              0 4px 16px rgba(0,0,0,.08);
}

/* Hover / focus – brighter + lift */
.cart.glass2:hover,
.cart.glass2:focus-visible{
  color:#fff;                               /* SVG turns white too */
  background: rgba(0,0,0,0.9);
  border-color: rgba(0,0,0,0.9);
  transform: translateY(-2px);              /* remove if you don't want lift */
  box-shadow: inset 0 1px 0 rgba(32,32,32,.8),
              0 8px 24px rgba(0,0,0,.12);
}

/* Pressed */
.cart.glass2:active{
  transform: translateY(0);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.06);
}

/* Sheen sweep */
.cart.glass2::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  background: linear-gradient(120deg,
              transparent 0%,
              rgba(255,255,255,.55) 45%,
              rgba(255,255,255,.85) 50%,
              transparent 55%);
  transform: translateX(-150%);
  transition: transform .75s ease;
  pointer-events:none;
}
.cart.glass2:hover::before{ transform: translateX(150%); }


/* same interactions as your links */
.cart:hover{ opacity:1; border-color:#cfcfcf; }
button.cart:focus-visible{ outline:2px solid var(--text); outline-offset:2px; }

/* ——— ABOUT ——— */
section{scroll-margin-top:72px}
.section{padding:72px 0}
.section h2{font-size:clamp(28px,5vw,56px);line-height:1.05;margin:0 0 16px}
.lead{font-size:clamp(16px,2.4vw,24px);font-weight:800;line-height:1.25}
.about-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 28px;
  align-items: start; /* this aligns items to top — keep this */
}

.card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:18px;margin-top: 3%;}
.muted{color:var(--muted);font-size:14px;}
.muted2{color:var(--muted);font-size:14px; margin-top: 15%;}
@media (max-width:980px){.about-grid{grid-template-columns:1fr}}
@media (max-width: 900px){
  #about .about-grid{ grid-template-columns: 1fr; }

  #about .about-grid .frame{
    /* 0 = no bleed, 1 = full gutter bleed */
    --about-bleed: .5;                 /* was 1; try .4–.7 */
    margin-inline: calc(var(--gutter) * var(--about-bleed) * -1);
    width: calc(100% + var(--gutter) * (var(--about-bleed) * 2));

    aspect-ratio: 2 / 1;               /* was 4/3 (taller). 3/2 is a bit shorter */
    overflow: hidden;
    border-radius: 16px;
  }
  #about .about-grid .frame img{
    width:100%; height:100%; object-fit:cover; display:block;
  }
}



/* Glass style like the nav bar */
.btn.glass2{
  background: rgb(253, 253, 253);               /* #fff9 style */
  color: rgb(0, 0, 0);
  border-color: rgba(0, 0, 0, 0.944);
  

  box-shadow: inset 0 1px 0 rgba(244, 244, 244, 0.65),
              0 4px 16px rgba(248, 248, 248, 0.08);
}

/* Hover / focus state – a bit brighter + lift */
.btn.glass2:hover,
.btn.glass2:focus-visible{
    color: rgb(255, 255, 255);
  background: rgba(0, 0, 0, 0.908);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(32, 32, 32, 0.8),
              0 8px 24px rgba(241, 241, 241, 0);
}

/* Pressed */
.btn.glass2:active{
  transform: translateY(0);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.06);
}

/* Optional animated “sheen” sweep on hover */
.btn.glass2::before{
  content:"";
  position:absolute;
  inset:-1px;                       /* cover edges */
  border-radius: inherit;
  background: linear-gradient(120deg,
              transparent 0%,
              rgba(255,255,255,.55) 45%,
              rgba(255,255,255,.85) 50%,
              transparent 55%);
  transform: translateX(-150%);
  transition: transform .75s ease;
  pointer-events:none;
}
.btn.glass2:hover::before{ transform: translateX(150%); }


/* ----- Shared rails & brand offsets ----- */
:root{
  --gutter: 24px;          /* left/right inner padding for both nav & hero */
  --brand-icon: -8px;      /* your round logo icon width */
  --brand-gap: 10px;       /* gap between icon and “KATAMAL” text */
}

/* make the container use the same inner padding (rails) */
.container{ padding-inline: var(--gutter); }

/* headline size + rails alignment */
.hero h1{
  font-size: clamp(100px, 9vw, 120px);  /* bigger like the reference */
  line-height: .88;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

/* two-column hero: headline on left, text/button on right rail */
.hero-top{
  display: grid;
  grid-template-columns: minmax(0,1fr) max-content; /* left grows, right hugs */
  align-items: end;
  column-gap: clamp(16px, 4vw, 40px);
}

/* keep the welcome+button pinned to the right container rail
   (same rail as the last nav link group) */
.hero-top > :last-child{ justify-self: end; }

/* OPTIONAL: if you want the first “S” to sit under the brand TEXT,
   offset the headline by icon width + gap */
.align-under-brand-text .hero-top h1{
  padding-left: calc(var(--brand-icon) + var(--brand-gap));
}

/* mobile fallback */
@media (max-width: 900px){
  .hero-top{ grid-template-columns: 1fr; }
  .align-under-brand-text .hero-top h1{ padding-left: 0; margin-top: 10%;}
}

/* Make hero a 2-col grid but let H1 span both columns */
.hero-top{
  display:grid;
  grid-template-columns: minmax(0,1fr) max-content;
  align-items:end;
  column-gap: clamp(16px, 4vw, 40px);
}

/* Keep the text/button pinned to the right rail */
.hero-top > :last-child{ justify-self:end; }

/* One-line, full-width headline */
.hero-top h1{
  grid-column: 1 / -1;      /* span across both columns */
  white-space: nowrap;      /* never wrap */
  letter-spacing:-0.02em;
  line-height:.9;
  margin:0 0 18px;
  font-size: clamp(85px, vw, 120px); /* fits in one line on a 1200px container */
}

/* Mobile reset */
@media (max-width:900px){
  .hero-top{ grid-template-columns:1fr; }
  .hero-top h1{
    white-space:normal;
    font-size: clamp(40px, 12vw, 64px);
  }
}


  /* a touch more breathing room after the last item (“Shop”) */
  .nav.open .nav-links > *:last-child{ margin-bottom: 10px; }

/* ——— SERVICES ——— */
.services{background:var(--dark);color:#fff}
.services .section{padding:84px 0}
.services h2{color:#fff}
.service-table{margin-top:24px;border-top:1px solid #333;border-bottom:1px solid #333}
.row{display:grid;grid-template-columns:220px 1fr;gap:26px;padding:26px 0;border-bottom:1px solid #333}
.row:last-child{border-bottom:none}
.row .k{color:#d6d6d6;font-weight:600}
.row .v h4{margin:0 0 8px;color:#fff}
.row .v p{margin:0;color:#c9c9c9}
@media (max-width:800px){.row{grid-template-columns:1fr}}

/* ——— PHILOSOPHY & CLIENTS ——— */
.philosophy .grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: start; /* 👈 THIS aligns top edges */
}
.philosophy .grid > div:last-child {
  max-width: -6px;
}


.clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  align-items: center;
  border-radius: 20px; /* optional */
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;


  border-radius: 16px;
  height: 100px; /* consistent logo height area */
}

.logo img {
  max-height: 90px; /* You can try 100px if needed */
  width: auto;
  display: block;
}


@media (max-width:900px){.philosophy .grid{grid-template-columns:1fr} .clients{grid-template-columns:repeat(2,1fr)}}

/* ——— FOOTER ——— */
footer{border-top:1px solid var(--border);padding:48px 0; background-color: #222225;}
.foot-top{display:flex;align-items:flex-start;justify-content:space-between;gap:26px}
.social{display:flex;gap:12px;color:#e1f6bd;}
.social a{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;border:1px solid var(--border)}
.foot-cols{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px;color:#111}
.copy{margin-top:26px;color:#6a6a6a;font-size:14px}
@media (max-width:820px){.foot-top{flex-direction:column}}
.contact-link {
  color: #e1f6bd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #97b169 /* darker green on hover */
}

/* Full-bleed utility (lets a section stretch edge-to-edge even inside .container) */
.fullbleed{
  width:100vw;
  position:relative;
  left:50%;
  right:50%;
  margin-left:-50vw;
  margin-right:-50vw;
}

/* Gold footer bar */
.foot-bar{
  background: linear-gradient(180deg, #fbfbfb 0%, #ffffff 100%);
  color:#080808;
}
.foot-bar-inner{

  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 0;                 /* vertical rhythm; container gives the side padding */
}
.foot-bar a{ color:#fff; text-decoration:none; font-weight:600; }

/* Mobile stacking like your second screenshot */
@media (max-width: 820px) {
  .foot-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hide-on-mobile {
    display: none !important;
  }


  .foot-top h3,
  .foot-top p,
  .foot-cols,
  .copy {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
.bar-left {
    font-size: 14px;
    text-align: center;
}
  .foot-cols {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 12px;
  }

  .social {
    justify-content: center;
  }

  .muted2{color:var(--muted);font-size:14px; margin-top: 0;}
}


/* ===== Soft Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gentleFloat {
  0%   { transform: translateY(0) }
  50%  { transform: translateY(-3px) }
  100% { transform: translateY(0) }
}
@keyframes slowPan {
  0%   { transform: scale(1) }
  100% { transform: scale(1.02) }
}

/* Reveal-on-scroll baseline */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance */
.hero .hero-top h1 { animation: fadeUp .7s ease both; }
.hero .hero-copy    { animation: fadeUp .8s ease both .05s; }
.hero .hero-cta     { animation: fadeUp .9s ease both .1s; }

/* Gentle float on brand mark for premium feel */
.brand .mark img {
  animation: gentleFloat 7s ease-in-out infinite;
  will-change: transform;
}

/* Soft pan for hero images (once on load) */
.hero-media .frame img {
  transform-origin: center;
  animation: slowPan 12s ease forwards;
}



/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .brand .mark img,
  .hero .hero-top h1,
  .hero .hero-copy,
  .hero .hero-cta,
  .hero-media .frame img {
    animation: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* Policy links (right column look) */
.footer-links{
  margin-left: auto;                 /* push to the right in .foot-top flex row */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 708px;
  text-align: right;
  font-weight: 300;
  font-size: 15px;
}

.footer-links a{
  color: #f2f2f2;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 10px;
  opacity: .9;
  transition: color .25s ease, background .25s ease, opacity .2s ease, transform .12s ease;
}

.footer-links a:hover{
  opacity: 1;
  color: #e1f6bd;                    /* your green */
  background: rgba(225,246,189,.07); /* subtle green-tinted glass */
}

.footer-links a:active{ transform: translateY(1px); }

.footer-links a:focus-visible{
  outline: 2px solid #e1f6bd;
  outline-offset: 2px;
  background: rgba(225,246,189,.07);
}

/* Stack & center on mobile */
@media (max-width:820px){
  .footer-links{
    margin-left: 0;
    align-items: center;
    text-align: center;
    min-width: 0;
  }
}

/* Marquee container */
.brand-ticker{
  --gap: 64px;           /* space between logos */
  --size: 88px;          /* logo height */
  --duration: 28s;       /* scroll speed (smaller = faster) */

  overflow: hidden;
  position: relative;
  padding-block: 12px;
}

/* Subtle edge fade (optional) */
.brand-ticker::before,
.brand-ticker::after{
  content:"";
  position:absolute; top:0; bottom:0; width:80px; pointer-events:none;
  
}
.brand-ticker::before{ left:0; }
.brand-ticker::after{
  right:0;
  transform: scaleX(-1);
}

/* The moving row */
.brand-track{
  display: flex;
  align-items: center;
  gap: var(--gap);
  width: max-content;               /* shrink-wrap to content width */
  animation: ticker-scroll var(--duration) linear infinite;
}

/* Pause on hover/focus */
.brand-ticker:hover .brand-track,
.brand-ticker:focus-within .brand-track{
  animation-play-state: paused;
}

/* Each logo */
.brand-track .logo{
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;                   /* don’t shrink */
}
.brand-track img{
  height: var(--size);
  width: auto;
  object-fit: contain;
  filter: grayscale(0.1) contrast(.99) opacity(.9);
  transition: filter .2s ease;
}
.brand-track img:hover{ filter: none; }

/* Motion preference */
@media (prefers-reduced-motion: reduce){
  .brand-track{ animation: none; }
}

@keyframes ticker-scroll{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* because we duplicated the set once */
}

/* Small screens: slightly smaller logos */
@media (max-width: 700px){
  .brand-ticker{ --gap: 36px; --size: 64px; --duration: 24s; }
}

.team-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.team-card{
  margin:0;
  padding:14px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  text-align:center;
}
.team-card img{
  width:100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius:12px;
  display:block;
}
.team-card figcaption{
  margin-top:10px;
  line-height:1.35;
}
.team-card .name{
  display:block;
  font-weight:800;
  font-size:16px;
  color:#111;
}
.team-card .role{
  display:block;
  margin-top:4px;
  font-size:14px;
  color: var(--muted);
}
.designations{
  margin:10px 0 0;
  padding:0;
  list-style:none;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:6px;
  min-height: var(--badge-row);  
}
:root { --badge-row: 38px; }    
.designations li{
  font-size:12px;
  font-weight:700;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background:#f7f7f9;
  color:#333;
}
.brand-hero-video{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;     /* fills frame neatly */
  border-radius:12px;   /* match your site style */
}
