cat > /var/www/ftera/assets/css/style_new.css <<'EOF'
/* assets/css/style_new.css */
/* =========================================================
   FTERA Design System (2026 / Machiya Quiet Future)
   ========================================================= */

:root{
  --bg-0:#edf2f6;
  --bg-1:#f8fbfd;
  --bg-2:#e5ebf1;

  --fg:#111318;
  --muted:#5a6574;
  --muted-2:#727b89;

  --line:rgba(17,19,24,.09);
  --line-strong:rgba(17,19,24,.14);

  --glass:rgba(255,255,255,.52);
  --glass-strong:rgba(255,255,255,.70);
  --panel:rgba(255,255,255,.76);

  --ink:#121212;
  --accent:#3d6fae;
  --accent-line:rgba(61,111,174,.20);

  --shadow-xs:0 6px 18px rgba(12,18,28,.05);
  --shadow-sm:0 16px 42px rgba(12,18,28,.08);
  --shadow:0 28px 80px rgba(12,18,28,.12);
  --shadow-lg:0 40px 120px rgba(12,18,28,.18);

  --radius-xs:12px;
  --radius-sm:16px;
  --radius:22px;
  --radius-lg:30px;

  --max:1180px;
  --font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans JP",sans-serif;
  --focus:rgba(61,111,174,.34);

  --header-glass:rgba(248,251,253,.58);
  --section-alt:rgba(255,255,255,.30);

  --bgLayerA: radial-gradient(1100px 640px at 12% 4%, rgba(255,255,255,.90), transparent 58%);
  --bgLayerB: radial-gradient(1300px 740px at 88% 0%, rgba(255,255,255,.56), transparent 60%);
  --bgLayerC: radial-gradient(1100px 680px at 50% 100%, rgba(17,19,24,.05), transparent 62%);
  --bgLayerD: linear-gradient(180deg, #f8fbfd 0%, #f0f5fa 35%, #e7edf3 100%);

  --img-filter:saturate(0.92) contrast(1.03) brightness(0.94);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  color:var(--fg);
  line-height:1.68;
  background:var(--bgLayerA),var(--bgLayerB),var(--bgLayerC),var(--bgLayerD);
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.028;
  mix-blend-mode:multiply;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,.018) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.012) 0 1px, transparent 1px 4px);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

:focus-visible{
  outline:3px solid var(--focus);
  outline-offset:3px;
  border-radius:12px;
}

@media (prefers-reduced-motion: reduce){
  *{transition:none!important;scroll-behavior:auto!important}
}

.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}
.mt10{margin-top:10px}
.mt12{margin-top:12px}
.mt14{margin-top:14px}
.mt18{margin-top:18px}
.noScroll{overflow:hidden}

/* =========================================================
   Header
   ========================================================= */
.siteHeader{
  position:sticky;
  top:0;
  z-index:60;
  padding:8px 0 4px;
  background:transparent;
}
.headerShell{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.42);
  border-bottom-color:rgba(17,19,24,.08);
  border-radius:24px;
  background:var(--header-glass);
  backdrop-filter:blur(22px) saturate(1.10);
  -webkit-backdrop-filter:blur(22px) saturate(1.10);
  box-shadow:
    0 10px 30px rgba(12,18,28,.08),
    inset 0 1px 0 rgba(255,255,255,.50);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  width:100%;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
}
.brand img{
  width:36px;
  height:36px;
  border-radius:12px;
  border:1px solid rgba(17,19,24,.08);
  background:rgba(255,255,255,.58);
  box-shadow:var(--shadow-xs);
}
.menu{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
}
.menu a{
  font-size:14px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:999px;
  transition:background .18s ease,color .18s ease;
}
.menu a:hover{
  color:var(--fg);
  background:rgba(255,255,255,.52);
}
.langLinkTop{
  font-size:13px;
  letter-spacing:.10em;
  border:1px solid transparent;
}
.langLinkTop:hover{
  border-color:var(--line);
  background:rgba(255,255,255,.60);
}

.mobileActions{display:none;align-items:center;gap:10px}
.hamburger{
  width:46px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(17,19,24,.10);
  background:rgba(255,255,255,.72);
  cursor:pointer;
  position:relative;
  box-shadow:var(--shadow-xs);
}
.hamburgerBars{
  display:block;
  width:18px;
  height:2px;
  background:rgba(17,19,24,.62);
  border-radius:2px;
  position:absolute;
  left:46%;
  top:38%;
  top:50%;
  transform:translate(-50%,-50%);
}
.hamburgerBars::before,
.hamburgerBars::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background:rgba(17,19,24,.62);
  border-radius:2px;
}
.hamburgerBars::before{top:-6px}
.hamburgerBars::after{top:6px}

@media (max-width:900px){
  .menuDesktop{display:none}
  .mobileActions{display:flex}
  .siteHeader{padding:10px 0 8px}
  .headerShell{padding:8px 10px}
}

/* =========================================================
   Drawer
   ========================================================= */
.drawerOverlay{
  position:fixed;
  inset:0;
  z-index:70;
  background:rgba(10,18,30,.34);
  opacity:0;
  transition:opacity .18s ease;
}
.drawerOverlay.isOpen{opacity:1}

.drawer{
  position:fixed;
  top:0;
  right:0;
  z-index:80;
  width:min(92vw, 360px);
  height:100vh;
  background:rgba(248,251,253,.92);
  backdrop-filter:blur(18px) saturate(1.1);
  -webkit-backdrop-filter:blur(18px) saturate(1.1);
  border-left:1px solid rgba(17,19,24,.08);
  transform:translateX(102%);
  transition:transform .20s ease;
  box-shadow:-24px 0 70px rgba(12,18,28,.18);
  display:flex;
  flex-direction:column;
}
.drawer.isOpen{transform:translateX(0)}
.drawerHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 16px 10px;
  border-bottom:1px solid rgba(17,19,24,.08);
}
.drawerTitle{
  font-weight:800;
  letter-spacing:.08em;
  color:rgba(17,19,24,.80);
}
.drawerClose{
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(17,19,24,.10);
  background:rgba(255,255,255,.72);
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.drawerNav{
  padding:10px 10px 0;
  display:flex;
  flex-direction:column;
}
.drawerNav a{
  padding:12px 12px;
  border-radius:14px;
  color:rgba(17,19,24,.78);
}
.drawerNav a:hover{
  background:rgba(255,255,255,.70);
  border:1px solid rgba(17,19,24,.08);
}
.drawerCtas{
  margin-top:auto;
  padding:14px 14px 16px;
  border-top:1px solid rgba(17,19,24,.08);
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  padding:12px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.62);
  transition:transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  box-shadow:var(--shadow-xs);
}
.btn:hover{
  transform:translateY(-1px);
  border-color:var(--line-strong);
  background:rgba(255,255,255,.78);
  box-shadow:var(--shadow-sm);
}
.btn.primary{
  background:#121212;
  color:#fff;
  border-color:#121212;
}
.btn.primary:hover{background:#0d0d0d}
.btn.gold{
  border-color:var(--accent-line);
  background:rgba(255,255,255,.58);
}
.btnQuiet{
  background:rgba(255,255,255,.46);
  border-color:rgba(17,19,24,.08);
}
.btnTight{padding:10px 12px}

/* =========================================================
   Typography
   ========================================================= */
.display{
  margin:0 0 14px;
  font-size:clamp(34px, 4.4vw, 58px);
  line-height:1.02;
  letter-spacing:.00em;
  font-weight:650;
}
.displayArchitect{
  max-width:8.2ch;
  font-size:clamp(36px, 4.6vw, 62px);
  line-height:1.04;
  font-weight:520;
  letter-spacing:-.01em;
}
h2{
  margin:0;
  font-size:clamp(22px, 2.2vw, 30px);
  letter-spacing:.01em;
}
.small{font-size:13px;color:var(--muted)}
.kicker{
  margin:0 0 14px;
  font-size:11px;
  color:var(--muted-2);
  letter-spacing:.18em;
  text-transform:uppercase;
}
.lead{
  margin:0 0 18px;
  color:var(--muted);
  max-width:48ch;
}
.leadArchitect{
  max-width:34ch;
  font-size:16px;
  line-height:1.82;
}
.note{
  margin:0;
  font-size:13px;
  color:var(--muted);
}

/* =========================================================
   Hero
   ========================================================= */
.hero2026{
  padding:0 0 12px;
}
.heroShell{
  position:relative;
  border:1px solid rgba(255,255,255,.42);
  border-bottom-color:rgba(17,19,24,.08);
  border-radius:34px;
  padding:10px;
  background:linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.10));
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.heroShell::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 420px at 12% 10%, rgba(255,255,255,.26), transparent 58%),
    radial-gradient(760px 360px at 88% 92%, rgba(17,19,24,.05), transparent 58%);
}
.heroStage{
  position:relative;
  z-index:1;
  min-height:200px;
}
.heroImageLayer{
  padding:12px;
  position:relative;
}
.heroPhoto2026{
  border-radius:30px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.24);
  box-shadow:var(--shadow-lg);
  position:relative;
  background:#dce4eb;
}
.heroPhotoArchitect{
  width:100%;
  min-height:420px;
  aspect-ratio:auto;
}
.heroPhoto2026::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10) 0%, transparent 26%, rgba(10,16,24,.24) 100%),
    radial-gradient(900px 520px at 20% 10%, rgba(255,255,255,.14), transparent 60%);
  z-index:1;
}
.heroPhoto2026::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.14),
    inset 0 18px 44px rgba(12,18,28,.08);
  z-index:2;
}
.heroPhoto2026 img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position: 30% 38%;
  filter:var(--img-filter);
}

.heroFloatingCopy{
  position:absolute;
  left:46%;
  bottom:180px;
  width:min(500px, calc(100% - 68px));
  transform:translateX(-50%);
  z-index:3;
}
.heroCard{
  position:relative;
  border:1px solid rgba(255,255,255,.30);
  border-bottom-color:rgba(17,19,24,.08);
  border-radius:30px;
  padding:28px;
  background:linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.12));
  backdrop-filter:blur(16px) saturate(1.10);
  -webkit-backdrop-filter:blur(16px) saturate(1.10);
  box-shadow:
    0 14px 34px rgba(12,18,28,.07),
    inset 0 1px 0 rgba(255,255,255,.34);
}
.heroCard::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  background:
    radial-gradient(700px 280px at 14% 8%, rgba(255,255,255,.22), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 38%);
}
.heroCardArchitect{
  max-width:500px;
}
.ctaRow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.ctaRowArchitect .btn{
  white-space:nowrap;
}
.heroMeta{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin-top:18px;
}
.metaCard{
  border:1px solid rgba(255,255,255,.40);
  border-bottom-color:rgba(17,19,24,.08);
  border-radius:18px;
  background:rgba(255,255,255,.22);
  padding:14px;
  backdrop-filter:blur(18px) saturate(1.12);
  -webkit-backdrop-filter:blur(18px) saturate(1.12);
  box-shadow:var(--shadow-xs);
}
.metaLabel{
  display:block;
  font-size:11px;
  letter-spacing:.10em;
  color:var(--muted-2);
  margin-bottom:18px;
}
.metaValue{
  display:block;
  font-size:14px;
  font-weight:700;
  letter-spacing:.01em;
}
.microCard{
  border:1px solid rgba(255,255,255,.40);
  border-bottom-color:rgba(17,19,24,.08);
  border-radius:22px;
  background:rgba(255,255,255,.24);
  box-shadow:var(--shadow-sm);
  backdrop-filter:blur(18px) saturate(1.12);
  -webkit-backdrop-filter:blur(18px) saturate(1.12);
  padding:16px;
}
.microHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.72);
  color:var(--muted);
}

.heroBottomRail{
  position:absolute;
  left:34px;
  right:34px;
  bottom:18px;
  z-index:2;
  display:flex;
  justify-content:flex-end;
  pointer-events:none;
  padding:10px 12px;
  border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}
.chipsArchitect{
  max-width:56%;
  justify-content:flex-end;
}
.chip{
  font-size:12px;
  border:1px solid rgba(255,255,255,.44);
  background:rgba(30,36,48,.26);
  box-shadow:0 10px 24px rgba(10,14,20,.16);
  padding:8px 12px;
  border-radius:999px;
  color:rgba(255,255,255,.96);
  text-shadow:0 1px 2px rgba(0,0,0,.18);
  backdrop-filter:blur(18px) saturate(1.16);
  -webkit-backdrop-filter:blur(18px) saturate(1.16);
}

@media (max-width:1100px){
  .heroStage{min-height:580px}
  .heroPhotoArchitect{min-height:650px}
  .heroFloatingCopy{
    position:absolute;
    width:min(470px, calc(100% - 52px));
    left:46%;
    bottom:110px;
    transform:translateX(-50%);
  }
  .heroCard{
    padding:14px;
    border-radius:24px;
  }
  .displayArchitect{
    max-width:none;
    font-size:clamp(30px, 8.8vw, 46px);
  }
  .leadArchitect{
    max-width:none;
    font-size:15px;
    line-height:1.8;
  }
  .heroMeta{grid-template-columns:1fr}
  .heroBottomRail{
    position:relative;
    left:auto;
    right:auto;
    bottom:auto;
    justify-content:flex-start;
    pointer-events:auto;
  }
  .chipsArchitect{
    max-width:none;
    justify-content:flex-start;
  }
  .ctaRow .btn{flex:1}
  .chip{
    color:var(--fg);
    background:rgba(255,255,255,.58);
    border-color:rgba(255,255,255,.36);
  }
}

/* =========================================================
   Bento / Sections / Cards
   ========================================================= */
.bento{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:12px;
}
.bentoCard{
  grid-column:span 6;
  border:1px solid rgba(255,255,255,.34);
  border-bottom-color:rgba(17,19,24,.08);
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,.42));
  box-shadow:var(--shadow-sm);
  padding:10px;
  position:relative;
  overflow:hidden;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.bentoCard::before{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  background:
    radial-gradient(700px 280px at 18% 12%, rgba(255,255,255,.18), transparent 62%),
    radial-gradient(800px 420px at 82% 80%, rgba(17,19,24,.04), transparent 62%);
  opacity:.60;
}
.bentoWide{grid-column:span 12}
.bentoTitle{
  margin:0 0 8px;
  font-size:15px;
  letter-spacing:.02em;
}
.bentoText{
  margin:0;
  color:var(--muted);
  font-size:14px;
  max-width:62ch;
}
.bentoLink{
  display:inline-flex;
  margin-top:10px;
  font-size:13px;
  color:var(--muted);
  border-bottom:1px solid rgba(17,19,24,.12);
  padding-bottom:auto;
}
.bentoLink:hover{
  color:var(--fg);
  border-bottom-color:rgba(17,19,24,.22);
}

.section{
  padding:40px 0;
  border-top:1px solid rgba(17,19,24,.08);
}
.sectionAlt{
  background:var(--section-alt);
}
.sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:auto;
}
.sectionLead{
  margin:0;
  color:var(--muted);
  font-size:14px;
  max-width:50ch;
}
.card{
  border:1px solid rgba(255,255,255,.34);
  border-bottom-color:rgba(17,19,24,.08);
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.60), rgba(255,255,255,.46));
  padding:10px;
  box-shadow:var(--shadow-sm);
  container-type:inline-size;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.card p{
  margin:8px 0 0;
  color:var(--muted);
  font-size:14px;
}
.card strong{
  display:block;
  letter-spacing:.01em;
}

.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}

@media (max-width:900px){
  .bentoCard{grid-column:span 12}
  .sectionHead{flex-direction:column;align-items:flex-start}
  .two{grid-template-columns:1fr}
  .grid4{grid-template-columns:repeat(2,1fr)}
}
@container (max-width:360px){
  .card{padding:14px}
  .card p{font-size:13px}
}

/* =========================================================
   Photos
   ========================================================= */
.philo2026,
.staff2026{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:14px;
  align-items:stretch;
}
.photo2026{
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.28);
  background:#dde5ec;
  box-shadow:var(--shadow);
  position:relative;
  min-height:340px;
}
.photo2026::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(17,19,24,.06));
  mix-blend-mode:soft-light;
}
.photo2026 img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:var(--img-filter);
}
.philo2026 .photo2026{
  width:clamp(260px, 28vw, 360px);
  aspect-ratio:4/5;
  overflow:hidden;
  border-radius:22px;
}
.philo2026 .photo2026 img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:30% 20%!important;
}
.staff2026 .photo2026{
  width:100%;
  max-width:520px;
  aspect-ratio:4 / 3;
  overflow:hidden;
  border-radius:22px;
}
.staff2026 .photo2026 img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 25%;
}
@media (max-width:900px){
  .philo2026,.staff2026{grid-template-columns:1fr}
  .photo2026{min-height:300px}
  .philo2026 .photo2026{
    max-width:100%;
    min-height:420px;
    aspect-ratio:4/5;
  }
  .staff2026 .photo2026{
    max-width:100%;
    aspect-ratio:4/3;
  }
}

/* =========================================================
   Footer / Mobile CTA
   ========================================================= */
.siteFooter{
  padding:30px 0;
  color:var(--muted);
  border-top:1px solid rgba(17,19,24,.08);
  background:rgba(255,255,255,.20);
}
.footerInner{display:flex;flex-direction:column;gap:8px}
.footerLinks{display:flex;gap:10px;flex-wrap:wrap}

.fixedCta{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:60;
  background:rgba(248,251,253,.84);
  backdrop-filter:blur(16px) saturate(1.1);
  -webkit-backdrop-filter:blur(16px) saturate(1.1);
  border-top:1px solid rgba(17,19,24,.08);
  padding:10px 12px;
  display:none;
}
.fixedCta .row{display:flex;gap:10px}
.fixedCta a{flex:1}

@media (max-width:900px){
  .fixedCta{display:block}
  body{padding-bottom:70px}
}

/* =========================================================
   Team image compatibility
   ========================================================= */
#team .two{align-items:start}
#team .card{overflow:hidden}
#team .card img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  border-radius:16px;
}
#team .card:first-child img{
  aspect-ratio:4 / 5;
  object-fit:cover;
  object-position:30% 20%;
}
#team .card:last-child img{
  aspect-ratio:4 / 3;
  object-fit:cover;
  object-position:50% 25%;
}
/* =========================================================
   Hero background override fix
   ========================================================= */
.heroPhotoArchitect{
  width:100%;
  min-height:700px;
  aspect-ratio:auto;
  background-image:url("/assets/hero-machiya-grid.jpg") !important;
  background-repeat:no-repeat !important;
  background-size:cover !important;
  background-position:12% 52% !important;
}

.heroPhoto2026 img{
  display:none !important;
}

@media (max-width:1100px){
  .heroPhotoArchitect{
    min-height:650px;
    background-position:10% 52% !important;
  }
}

@media (max-width:900px){
  .heroPhotoArchitect{
    min-height:420px;
    aspect-ratio:4 / 5;
    background-position:18% 38% !important;
  }
}

/* 既存の背景画像方式を無効化 */
.heroPhotoArchitect{
  background-image:none !important;
}

@media (max-width:1100px){
  .heroRotator{
    min-height:650px;
  }
}

@media (max-width:900px){
  .heroRotator{
    min-height:420px;
    aspect-ratio:4 / 5;
    grid-template-rows:1fr 1fr;
    border-radius:24px;
  }
}

/* ベッド */
.heroPanel[style*="hero-bed"]{
  background-position:left center;
}

/* 町家 */
.heroPanel[style*="hero-machiya"]{
  background-position:center 42%;
}

/* ディスプレイ */
.heroPanel[style*="hero-display"]{
  background-position:left center;
}

/* 廊下 */
.heroPanel[style*="hero-corridor"]{
  background-position:center center;
}


/* =========================================================
   Hero quad grid
   ========================================================= */
.heroQuadGrid{
  transform:scale(0.85);
  transform-origin:center;
  width:100%;
  min-height:200px;
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:1fr 1fr;
  gap:20px;
  padding:12px;
  position:relative;
  z-index:1;
  align-content:center;
  justify-content:center;
}

.heroQuadCard{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(255,255,255,.16);
  box-shadow:
    0 8px 20px rgba(12,18,28,.08),
    inset 0 1px 0 rgba(255,255,255,.18);
  transform:scale(.95);
  opacity:.90;
  filter:saturate(.96) contrast(.99) brightness(.97);
  transition:
    transform .8s ease,
    opacity .8s ease,
    filter .8s ease,
    box-shadow .8s ease,
    border-color .8s ease;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
}

.heroQuadCard img{
  filter:brightness(0.92) contrast(0.95);
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center center;
  display:block;
}

.heroQuadCard.is-focus{
  transform:scale(.97);
  opacity:1;
  filter:saturate(1.01) contrast(1.01) brightness(1);
  border-color:rgba(255,255,255,.40);
  box-shadow:
    0 12px 28px rgba(12,18,28,.12),
    inset 0 1px 0 rgba(255,255,255,.30);
}

.heroQuadCard::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.04));
}

@media (max-width:1100px){
  .heroQuadGrid{
  transform:scale(0.85);
  transform-origin:center;
    min-height:380px;
    gap:16px;
    padding:16px;
  }
}

@media (max-width:900px){
  .heroQuadGrid{
  transform:scale(0.85);
  transform-origin:center;
    min-height:auto;
    aspect-ratio:1 / 1;
    gap:10px;
    padding:10px;
  }

  .heroQuadCard{
    border-radius:18px;
    padding:6px;
  }
}
