:root {
  --ink: #10100f;
  --ink-soft: #33312e;
  --muted: #706c65;
  --paper: #f7f5ef;
  --paper-2: #eeeae2;
  --line: rgba(16, 16, 15, 0.12);
  --white: #fffdf8;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(16, 16, 15, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.92), transparent 28rem),
    linear-gradient(100deg, #fffdf8 0%, #f3eee6 100%);
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  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%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  width: min(100% - 72px, 1280px);
  margin: 0 auto;
  padding: 32px 0 18px;
  transition: padding 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  top: 12px;
  width: min(100% - 32px, 1280px);
  padding: 12px 18px;
  border: 1px solid rgba(16, 16, 15, 0.08);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 14px 40px rgba(16, 16, 15, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  line-height: 1;
}

.brand img {
  width: 142px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 12px;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  color: #fff;
  background: #111;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(16, 16, 15, 0.22);
  transition: transform 220ms ease, background 220ms ease;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.section-pad {
  padding-right: max(28px, calc((100vw - 1210px) / 2));
  padding-left: max(28px, calc((100vw - 1210px) / 2));
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(430px, 1fr);
  align-items: center;
  min-height: 720px;
  padding-top: 122px;
  padding-bottom: 64px;
  background:
    radial-gradient(circle at 72% 42%, rgba(218, 205, 184, 0.34), transparent 24rem),
    linear-gradient(100deg, rgba(255, 253, 248, 0.96) 0%, rgba(247, 244, 237, 0.94) 48%, rgba(235, 229, 218, 0.88) 100%);
  isolation: isolate;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 28px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.04;
}

h1 {
  max-width: 580px;
  margin-bottom: 26px;
  font-size: clamp(52px, 5.7vw, 75px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4vw, 52px);
}

.hero-text {
  max-width: 470px;
  margin-bottom: 36px;
  color: var(--ink-soft);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 48px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 220ms ease, color 220ms ease, background 220ms ease;
}

.btn-dark {
  padding: 0 24px;
  color: #fff;
  background: #111;
}

.btn-ghost {
  padding: 0;
  color: #161615;
}

.hero-media {
  position: absolute;
  inset: 92px 0 auto 43%;
  z-index: 0;
  height: 525px;
  min-height: 0;
  overflow: visible;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-top: 34px;
}

.hero-product {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  margin-left: 0;
  object-fit: cover;
  object-position: center right;
  filter: saturate(0.96) contrast(1.02);
  transform: translate3d(0, var(--hero-shift, 0), 0);
  transition: transform 80ms linear;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 8%, #000 20%, #000 100%),
    linear-gradient(180deg, transparent 0%, #000 7%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 8%, #000 20%, #000 100%),
    linear-gradient(180deg, transparent 0%, #000 7%, #000 91%, transparent 100%);
  mask-composite: intersect;
}

.hero-media::before,
.hero-media::after {
  position: absolute;
  inset: -4px;
  z-index: 2;
  pointer-events: none;
  content: "";
}

.hero-media::before {
  background: linear-gradient(90deg, rgba(247, 245, 239, 0.96) 0%, rgba(247, 245, 239, 0.62) 10%, rgba(247, 245, 239, 0) 30%);
  mix-blend-mode: normal;
}

.hero-media::after {
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  top: auto;
  background: linear-gradient(180deg, rgba(237, 231, 220, 0) 0%, rgba(235, 229, 218, 0.48) 100%);
  opacity: 0.45;
}

.scroll-note {
  position: absolute;
  z-index: 3;
  top: 48%;
  right: -28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform: translateY(-50%);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 800;
  writing-mode: vertical-rl;
}

.scroll-note i {
  width: 2px;
  height: 40px;
  background: #111;
}

.trusted {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  min-height: 140px;
  padding: 34px max(28px, calc((100vw - 1210px) / 2));
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.08), transparent 24rem),
    #101010;
}

.trusted-stat span,
.trusted-stat p {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 500;
}

.trusted-stat strong {
  display: block;
  margin: 7px 0 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 500;
  line-height: 1;
}

.trusted-stat p {
  margin-bottom: 0;
  line-height: 1.45;
}

.client-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(96px, 1fr)) 28px;
  align-items: center;
  gap: clamp(18px, 3.5vw, 56px);
}

.client-logo {
  color: #fff;
  line-height: 0.9;
  text-align: center;
  transition: opacity 220ms ease, transform 220ms ease;
}

.client-logo:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}

.kopikalyan,
.dapur {
  font-size: 21px;
  font-weight: 800;
}

.mamas {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 27px;
  font-weight: 700;
  font-style: italic;
}

.sushi,
.bites,
.sukha {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.client-next {
  font-size: 36px;
  font-weight: 300;
  opacity: 0.9;
}

.services {
  padding-top: 76px;
  padding-bottom: 70px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(260px, 390px);
  align-items: end;
  gap: 60px;
  margin-bottom: 56px;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.7);
  box-shadow: 0 18px 40px rgba(16, 16, 15, 0.04);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-card figure {
  position: relative;
  height: 230px;
  margin: 0;
  overflow: hidden;
  background: #171713;
}

.image-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.service-card:hover img,
.portfolio-item:hover img {
  transform: scale(1.045);
}

.service-card figcaption {
  position: absolute;
  top: 24px;
  right: 25px;
  color: #fff;
  font-size: 15px;
}

.service-body {
  padding: 0 24px 28px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  margin-bottom: 22px;
  border-radius: 999px;
  color: #fff;
  background: #111;
  position: relative;
  z-index: 1;
}

svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-body h3 {
  margin-bottom: 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
}

.service-body p {
  min-height: 64px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 12px;
}

.service-body a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
}

.dark-section {
  color: #fff;
  background:
    radial-gradient(circle at 62% 22%, rgba(255, 255, 255, 0.08), transparent 34rem),
    #101010;
}

.portfolio {
  padding-top: 72px;
  padding-bottom: 70px;
}

.portfolio .eyebrow,
.portfolio .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.portfolio-heading {
  margin-bottom: 38px;
}

.portfolio-heading p {
  max-width: 360px;
}

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

.portfolio-item {
  display: block;
  overflow: hidden;
  min-height: 230px;
  border-radius: var(--radius);
  background: #26231f;
  text-align: left;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, opacity 300ms ease;
}

.portfolio-item:hover img {
  opacity: 0.9;
}

.process {
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: 70px;
  padding-top: 58px;
  padding-bottom: 54px;
}

.process-title h2 {
  max-width: 410px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-step {
  min-width: 0;
}

.process-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: #f0ece6;
  color: #111;
  transition: transform 220ms ease, background 220ms ease;
}

.process-step:hover .process-icon {
  transform: translateY(-3px);
  background: #e6ded4;
}

.process-step strong {
  display: block;
  margin-bottom: 9px;
  font-size: 12px;
}

.process-step h3 {
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 1.25;
}

.process-step p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.45;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.9fr 0.58fr;
  gap: 78px;
  padding: 58px max(28px, calc((100vw - 1210px) / 2)) 34px;
  color: #fff;
  background: #101010;
}

.footer-logo img {
  width: 152px;
}

.footer-brand p {
  max-width: 330px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.75;
}

.footer-col h2 {
  margin: 0 0 24px;
  font-family: "Inter", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 500;
}

.footer-col strong,
.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.footer-col strong {
  color: #fff;
}

.footer-col a:hover {
  color: #fff;
}

.footer-line {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
}

.footer-line svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #fff;
  stroke-width: 1.8;
}

.footer-line span {
  min-width: 0;
}

.copyright {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 11px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 10, 9, 0.82);
  cursor: zoom-out;
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 1080px);
  max-height: min(82vh, 760px);
  margin: 0;
  transform: translateY(12px) scale(0.98);
  transition: transform 220ms ease;
}

.lightbox.is-open .lightbox-panel {
  transform: translateY(0) scale(1);
}

.lightbox-panel img {
  width: 100%;
  max-height: min(82vh, 760px);
  border-radius: var(--radius);
  object-fit: contain;
  background: #111;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #111;
  background: #fffdf8;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    width: min(100% - 36px, 960px);
  }

  .main-nav {
    gap: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 140px;
  }

  .hero-media {
    position: relative;
    inset: auto;
    min-height: 0;
    margin-top: 30px;
    overflow: visible;
  }

  .hero-product {
    position: relative;
    inset: auto;
    width: min(100%, 610px);
    height: auto;
    aspect-ratio: 1546 / 1017;
    margin-right: auto;
    margin-left: auto;
    object-fit: contain;
    -webkit-mask-image: radial-gradient(ellipse at 60% 55%, #000 0%, #000 62%, transparent 90%);
    mask-image: radial-gradient(ellipse at 60% 55%, #000 0%, #000 62%, transparent 90%);
  }

  .scroll-note {
    right: 0;
  }

  .trusted {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .client-strip {
    overflow-x: auto;
    grid-template-columns: repeat(6, 130px) 28px;
    padding-bottom: 8px;
  }

  .process,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-header,
  .site-header.is-scrolled {
    grid-template-columns: 1fr auto;
    top: 0;
    width: 100%;
    padding: 16px 22px;
    border-radius: 0;
  }

  .brand img {
    width: 118px;
  }

  .menu-toggle {
    justify-self: end;
    display: grid;
    place-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: #111;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 220ms ease;
  }

  body.nav-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  body.nav-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 76px 16px auto;
    display: grid;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(16, 16, 15, 0.1);
    border-radius: 12px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  body.nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 12px 8px;
    font-size: 14px;
  }

  .header-cta {
    display: none;
  }

  .section-pad {
    padding-right: 22px;
    padding-left: 22px;
  }

  .hero {
    padding-top: 110px;
    padding-bottom: 44px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-media {
    display: none;
  }

  h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .hero-actions {
    align-items: stretch;
    gap: 14px;
  }

  .btn-dark {
    min-width: 190px;
  }

  .scroll-note {
    display: none;
  }

  .trusted {
    padding-right: 22px;
    padding-left: 22px;
    text-align: center;
  }

  .trusted-stat {
    text-align: center;
  }

  .service-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .service-card figure {
    height: 220px;
  }

  .portfolio-item {
    min-height: 245px;
  }

  .process {
    gap: 36px;
    padding-top: 46px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 18px;
    align-items: start;
  }

  .process-icon {
    grid-row: span 3;
    width: 56px;
    height: 56px;
    margin: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-right: 22px;
    padding-left: 22px;
  }

  .copyright {
    text-align: left;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  .eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .hero-text {
    font-size: 14px;
  }

  .btn {
    width: 100%;
  }

  .btn-ghost {
    justify-content: flex-start;
    width: auto;
  }

  .trusted-stat strong {
    font-size: 52px;
  }

  .section-heading {
    gap: 24px;
    margin-bottom: 34px;
  }

  .services,
  .portfolio {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .hero-product {
    transform: none !important;
  }
}
