/* ratesame.my · wine-noir · asymmetric · rich */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@500;700&family=Karla:wght@400;500;600&display=swap");
:root {
  --paper: #F7F2F4;
  --ink: #1C1216;
  --ink2: #2A1A20;
  --muted: #6E535C;
  --accent: #8B3A4A;
  --accent2: #D4A5A5;
  --warm: #C45C4A;
  --line: rgba(28,18,22,.12);
  --radius: 28px;
  --font-h: "Fraunces", system-ui, sans-serif;
  --font-b: "Karla", system-ui, sans-serif;
  --header: #1C1216;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--paper);
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img, video, iframe { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.cursor {
  position: fixed; z-index: 10000; width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid var(--accent); pointer-events: none; transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s, border-color .2s;
  mix-blend-mode: difference;
}
.cursor.on { width: 36px; height: 36px; background: color-mix(in srgb, var(--accent) 35%, transparent); }
@media (pointer: coarse) { .cursor { display: none; } body { cursor: auto; } }

.nav {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 7vw; color: #fff; background: transparent; transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
.nav.solid {
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--accent) 55%, transparent);
}
.brand { font-family: var(--font-h); font-weight: 700; letter-spacing: .04em; font-size: 1.05rem; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { font-size: .84rem; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width .25s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; color: #fff; }
.burger span, .burger span::before, .burger span::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(16px); color: #fff; transform: translateX(100%); transition: transform .35s ease;
  padding: 90px 32px; display: flex; flex-direction: column; gap: 22px; z-index: 60;
}
.drawer.open { transform: none; }
.shade { position: fixed; inset: 0; background: rgba(10,10,16,.45); opacity: 0; pointer-events: none; z-index: 55; transition: opacity .3s; }
.shade.open { opacity: 1; pointer-events: auto; }

.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr; gap: 48px;
  align-items: center; padding: 8vh 7vw 12vh; position: relative; overflow: hidden; color: #fff;
  background: var(--ink);
}
.hero-copy { position: relative; z-index: 2;  align-self: end; }
.hero-visual { position: relative; z-index: 1; order: 0; }
.hero video, .hero .hero-still {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: var(--radius); filter: saturate(1.05) contrast(1.05);
}

.hero { display: grid; }
.hero-visual { position: absolute; inset: 0; order: 0; }
.hero video, .hero .hero-still { height: 100%; border-radius: 0; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), transparent 70%); }

.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--accent2); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--font-h); margin: 0; line-height: 1.1; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h1 .grad {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.split-chars span { display: inline-block; animation: rise .7s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.lead { font-size: 1.15rem; line-height: 1.65; color: color-mix(in srgb, #fff 78%, var(--accent2)); max-width: 40rem; }
.type { border-right: 2px solid var(--accent2); white-space: nowrap; overflow: hidden; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 14px 26px; border: 0; color: #fff;
  border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent2)); position: relative; overflow: hidden;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 35%, transparent);
}
.btn::after {
  content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--x,50%) var(--y,50%), #fff 0, transparent 40%);
  opacity: 0; transition: opacity .3s;
}
.btn:hover::after { opacity: .25; }
.ring {
  position: absolute; inset: -8%; border: 1px dashed color-mix(in srgb, var(--accent2) 50%, transparent);
  border-radius: 50%; animation: spin 28s linear infinite; pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.float-shapes span {
  position: absolute; border: 1px solid color-mix(in srgb, var(--accent) 40%, #fff);
  animation: float 8s ease-in-out infinite; border-radius: 40% 60% 70% 30%;
}
@keyframes float { 50% { transform: translateY(-16px) rotate(8deg); } }

.wrap { width: min(1180px, 88vw); margin: 0 auto; }
section { padding: 90px 0; position: relative; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.sub { color: var(--muted); max-width: 40rem; }
.reveal { opacity: 0; transform: translateY(28px); transition: .7s ease; }
.reveal.in { opacity: 1; transform: none; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line);
  background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, var(--accent), var(--accent2));
  background-origin: border-box; background-clip: padding-box, border-box; transform-style: preserve-3d;
  transition: transform .25s, box-shadow .25s;
}
.card svg { width: 42px; height: 42px; color: var(--ink); margin-bottom: 16px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.more { display: inline-block; margin-top: 14px; font-size: .85rem; position: relative; }
.more::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px; background: var(--accent); transition: width .25s; }
.card:hover .more::after { width: 100%; }
.card:hover { box-shadow: 0 18px 40px rgba(20,20,30,.12); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.stat { padding: 28px; border-radius: var(--radius); background: var(--ink2); color: #fff; }
.stat b { font-family: var(--font-h); font-size: 2.4rem; display: block; background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0; }
.filters button {
  border: 1px solid var(--line); background: transparent; padding: 8px 16px; border-radius: 999px; color: var(--ink);
}
.filters button.on { background: var(--ink); color: #fff; }
.masonry { columns: 3; column-gap: 16px; }
.shot { break-inside: avoid; margin-bottom: 16px; position: relative; overflow: hidden; border-radius: var(--radius); }
.shot img { width: 100%; height: auto; transition: transform .5s; }
.shot:hover img { transform: scale(1.06); }
.shot .ov {
  position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 45%, transparent); color: #fff;
  display: grid; place-items: center; opacity: 0; transition: opacity .3s;
}
.shot:hover .ov { opacity: 1; }
.shot .ov svg { width: 28px; height: 28px; }
.skel { height: 220px; border-radius: var(--radius); background: linear-gradient(90deg, #ececec 25%, #f6f6f6 37%, #ececec 63%); background-size: 400% 100%; animation: sk 1.2s infinite; margin-bottom: 16px; }
@keyframes sk { to { background-position: -400% 0; } }

.lightbox { position: fixed; inset: 0; background: rgba(8,8,14,.86); display: none; place-items: center; z-index: 80; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 78vh; border-radius: 12px; }
.lightbox p { color: #fff; text-align: center; margin-top: 12px; }
.lb-nav { position: absolute; top: 50%; color: #fff; background: transparent; border: 0; font-size: 2rem; cursor: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.quote { font-family: var(--font-h); font-size: 1.4rem; }
.bars { display: grid; gap: 14px; margin-top: 24px; }
.bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width 1.2s ease; }
.timeline { display: grid; gap: 18px; margin-top: 32px; border-left: 2px solid var(--line); padding-left: 20px; }
.timeline b { color: var(--accent); }

.quotes { display: flex; gap: 18px; overflow: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.quotes article { min-width: min(70vw, 360px); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); margin-bottom: 12px; }

.posts { display: grid; gap: 22px; }
.post { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: center; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.post img { height: 180px; width: 100%; object-fit: cover; }
.read { display: inline-flex; gap: 8px; margin-top: 10px; align-items: center; }
.read svg { width: 18px; height: 18px; transform: translateX(0); transition: transform .25s; }
.post:hover .read svg { transform: translateX(6px); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
form { display: grid; gap: 16px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 18px 14px 10px; outline: none;
}
.field label { position: absolute; left: 14px; top: 14px; color: var(--muted); transition: .2s; pointer-events: none; }
.field input:focus + label, .field textarea:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label {
  top: 4px; font-size: .7rem; color: var(--accent);
}
.map { width: 100%; height: 240px; border: 0; border-radius: var(--radius); }
.info-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px; margin-top: 16px; display: grid; gap: 10px; }
.info-card svg { width: 20px; height: 20px; }

.page-hero { padding: 120px 7vw 40px; background: var(--ink); color: #fff; }
.page-hero p { color: color-mix(in srgb, #fff 70%, var(--accent2)); max-width: 40rem; }
.prose { max-width: 760px; margin: 48px auto; padding: 0 7vw 80px; line-height: 1.7; color: var(--muted); }
.prose h1, .prose h2 { color: var(--ink); margin: 1.4em 0 .5em; }
.prose img { border-radius: var(--radius); margin: 1.4em 0; width: 100%; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent2)); z-index: 90; }

.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; margin-top: 36px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.mosaic .wide { grid-row: 1 / span 2; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 36px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step b { font-family: var(--font-h); color: var(--accent); display: block; margin-bottom: 8px; }
.cases { display: grid; gap: 28px; margin-top: 28px; }
.case { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case img { width: 100%; height: 280px; object-fit: cover; }
.case:nth-child(even) { grid-template-columns: 1fr 1.2fr; }
.case:nth-child(even) img { order: 2; }
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.industries article { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.team figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.team img { width: 100%; height: 220px; object-fit: cover; }
.team figcaption { padding: 12px 14px 16px; }
.faq { display: grid; gap: 10px; margin-top: 24px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.faq summary { font-family: var(--font-h); cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.band { background: var(--ink2); color: #fff; }
.band .wrap { padding: 72px 0; }
.cta-band { text-align: center; padding: 80px 7vw; background: linear-gradient(120deg, var(--ink), var(--ink2)); color: #fff; }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin: 48px 0; }
.service-row:nth-child(even) img { order: -1; }
.service-row img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius); }
.equip { display: grid; gap: 18px; margin-top: 24px; }
.equip article { padding: 20px 0; border-bottom: 1px solid var(--line); }
.intro-copy p { font-size: 1.08rem; line-height: 1.75; color: var(--muted); }

footer { background: var(--ink); color: color-mix(in srgb, #fff 80%, transparent); padding: 64px 7vw 28px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 28px; }
footer a:hover { color: var(--accent2); }
.news { display: flex; gap: 8px; }
.news input { flex: 1; border: 0; border-radius: 999px; padding: 10px 14px; }
.news button { border: 0; border-radius: 999px; padding: 10px 14px; background: linear-gradient(90deg, var(--accent), var(--accent2)); color: #fff; }
.copyr { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; font-size: .85rem; }

.top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: .3s; z-index: 40;
}
.top.show { opacity: 1; pointer-events: auto; }
.top svg { width: 18px; height: 18px; animation: spin 8s linear infinite; }

.decor-grid {
  position: absolute; inset: 0; background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0; pointer-events: none;
}
.orb {
  position: fixed; width: 280px; height: 280px; border-radius: 50%; filter: blur(40px); pointer-events: none; z-index: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%);
  opacity: 0;
}
.grain {
  pointer-events: none; position: fixed; inset: 0; z-index: 3; opacity: .04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><filter id='n'><feTurbulence baseFrequency='.8' /></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.5'/></svg>");
}
.waves { position: absolute; left: 0; right: 0; bottom: -2px; display: none; }

@media (max-width: 900px) {
  body { cursor: auto; }
  .nav-links { display: none; }
  .burger { display: grid; place-items: center; }
  .hero, .split, .contact-grid, .post, .foot, .cards, .stats, .masonry, .mosaic, .steps, .case, .industries, .team, .service-row { grid-template-columns: 1fr; columns: 1; }
  .mosaic { grid-template-rows: auto; }
  .mosaic .wide { grid-row: auto; height: 240px; }
  .steps { grid-template-columns: 1fr; }
  .case:nth-child(even), .case:nth-child(even) img { grid-template-columns: 1fr; order: 0; }
  .team { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding-top: 110px; }
  .foot { display: grid; gap: 22px;   }
}
