/* Jumaat Alamal — j-a.sa
   Colors and type from the establishment's identity guide:
   ink #0D2B30, amber #F3A73A (one place only: the dot), mist #F0F5F5,
   sage #5C8E86, slate #485C60. Readex Pro for headings, IBM Plex Sans Arabic for text. */

@font-face { font-family: 'Readex Pro'; font-weight: 300; font-display: swap; src: url(fonts/readex-pro-arabic-300-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: 'Readex Pro'; font-weight: 400; font-display: swap; src: url(fonts/readex-pro-arabic-400-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: 'Readex Pro'; font-weight: 500; font-display: swap; src: url(fonts/readex-pro-arabic-500-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: 'Readex Pro'; font-weight: 600; font-display: swap; src: url(fonts/readex-pro-arabic-600-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: 'Readex Pro'; font-weight: 700; font-display: swap; src: url(fonts/readex-pro-arabic-700-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: 'Readex Pro'; font-weight: 300; font-display: swap; src: url(fonts/readex-pro-latin-300-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: 'Readex Pro'; font-weight: 400; font-display: swap; src: url(fonts/readex-pro-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: 'Readex Pro'; font-weight: 500; font-display: swap; src: url(fonts/readex-pro-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: 'Readex Pro'; font-weight: 600; font-display: swap; src: url(fonts/readex-pro-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: 'Readex Pro'; font-weight: 700; font-display: swap; src: url(fonts/readex-pro-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: 'Plex Arabic'; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: 'Plex Arabic'; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: 'Plex Arabic'; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Plex Arabic'; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --ink: #0D2B30;
  --ink-deep: #081E22;
  --amber: #F3A73A;
  --mist: #F0F5F5;
  --paper: #F7FAF9;
  --sage: #5C8E86;
  --slate: #485C60;
  --line: #D8E1DF;
  --on-ink: #E6EEEE;
  --on-ink-dim: rgba(230, 238, 238, .62);
  --head: 'Readex Pro', 'Plex Arabic', system-ui, sans-serif;
  --text: 'Plex Arabic', 'Readex Pro', system-ui, sans-serif;
  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.75 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); margin: 0; font-weight: 600; }
p { margin: 0; }
::selection { background: var(--ink); color: var(--mist); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--mist); color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 6px; }

/* Grain over the whole page, very faint, for a printed-paper feel. */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Lockup ---------- */
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.lockup-mark { width: 30px; height: auto; }
.lockup-words { display: flex; flex-direction: column; line-height: 1; }
.lockup-ar { font: 700 20px/1.05 var(--head); }
.lockup-en { font: 400 8.6px/1 var(--head); letter-spacing: .34em; margin-top: 5px; opacity: .85; }
[dir="rtl"] .lockup-en { letter-spacing: .3em; margin-inline-end: -.3em; }
.lockup.small .lockup-mark { width: 24px; }
.lockup.small .lockup-ar { font-size: 16px; }
.lockup.small .lockup-en { font-size: 7px; }

/* ---------- Header ---------- */
.bar {
  position: fixed; inset-inline: 0; top: 0; z-index: 20; color: var(--on-ink);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding-block: 22px;
}
.bar.solid {
  background: rgba(247, 250, 249, .82); color: var(--ink); padding-block: 12px;
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 rgba(13, 43, 48, .08);
}
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bar nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 34px); font: 400 15px/1 var(--head); }
.nav-link { text-decoration: none; position: relative; padding-block: 6px; opacity: .82; transition: opacity .2s; }
.nav-link::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
[dir="ltr"] .nav-link::after { transform-origin: left; }
.nav-link:hover { opacity: 1; }
.nav-link:hover::after { transform: scaleX(1); }
.lang { text-decoration: none; border: 1px solid currentColor; border-radius: 999px; padding: 7px 14px 8px; font-size: 13px; opacity: .9; transition: background .25s, color .25s, border-color .25s; }
.lang:hover { color: var(--ink); background: var(--on-ink); border-color: var(--on-ink); }
.bar.solid .lang:hover { color: var(--mist); background: var(--ink); border-color: var(--ink); }
@media (max-width: 720px) {
  .nav-link { display: none; }
  .contact-mark { width: 52vw; inset-inline-end: -10vw; top: 70%; opacity: .7; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 10%, #123940 0%, var(--ink) 45%, var(--ink-deep) 100%);
  color: var(--on-ink);
  min-height: min(100svh, 940px); display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 140px;
}
[dir="rtl"] .hero { background: radial-gradient(120% 90% at 15% 10%, #123940 0%, var(--ink) 45%, var(--ink-deep) 100%); }
/* Faint ruled lines at the angle of the mark's slanted leg (about 62 degrees). */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(-62deg, transparent 0 46px, rgba(230, 238, 238, .03) 46px 47px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
[dir="rtl"] .hero::before { background: repeating-linear-gradient(62deg, transparent 0 46px, rgba(230, 238, 238, .03) 46px 47px); }


.hero-in {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center;
  gap: clamp(32px, 6vw, 96px); padding-bottom: clamp(48px, 9vh, 100px); flex: 1;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero-copy .lede { margin-top: clamp(22px, 3.6vh, 32px); }
.hero-copy .btn { margin-top: clamp(28px, 4.5vh, 40px); }

/* The emblem: the mark on a card, like the establishment's business card. */
.emblem { perspective: 1200px; justify-self: end; width: 100%; max-width: 420px; }
[dir="rtl"] .emblem { justify-self: start; }
.emblem-card {
  position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 30% 0%, rgba(255, 255, 255, .07), transparent 60%),
    linear-gradient(160deg, #143A41 0%, #0E2D33 45%, #0A2226 100%);
  box-shadow: 0 0 0 1px rgba(230, 238, 238, .09) inset, 0 1px 0 rgba(255, 255, 255, .08) inset,
    0 50px 100px -40px rgba(0, 0, 0, .75), 0 20px 40px -24px rgba(0, 0, 0, .6);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
  animation: card-in 1.4s var(--ease) both .15s;
}
@keyframes card-in { from { opacity: 0; transform: translateY(30px) rotateX(8deg); } }
.emblem-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .06) 48%, transparent 60%);
  transform: translateX(-100%); animation: sheen 1.8s var(--ease) 1.4s both;
}
@keyframes sheen { to { transform: translateX(100%); } }
.emblem-mark { position: absolute; inset: 0; margin: auto; width: 46%; height: auto; overflow: visible; }
.emblem-mark path { fill: var(--mist); }
.p-dot { fill: var(--amber); filter: drop-shadow(0 0 10px rgba(243, 167, 58, .5)); transform-box: fill-box; transform-origin: center; animation: dot-in .9s cubic-bezier(.3, 1.6, .5, 1) both 1.15s; }
.p-slant { animation: slant-in 1.1s var(--ease) both .45s; }
.p-upright { animation: upright-in 1.1s var(--ease) both .3s; }
@keyframes slant-in { from { opacity: 0; transform: translate(-46px, 88px); } }
@keyframes upright-in { from { opacity: 0; transform: translateY(-60px); } }
@keyframes dot-in { from { opacity: 0; transform: scale(0); } }
.emblem-top, .emblem-bottom { position: absolute; inset-inline: 28px; font: 400 10px/1 var(--head); letter-spacing: .32em; color: rgba(230, 238, 238, .42); }
.emblem-top { top: 28px; }
.emblem-bottom { bottom: 26px; display: flex; justify-content: space-between; letter-spacing: .02em; font-size: 12px; }
.emblem-bottom span:last-child { letter-spacing: .32em; font-size: 10px; }

@media (max-width: 860px) {
  .hero { justify-content: flex-start; }
  .hero-in { grid-template-columns: 1fr; padding-bottom: 40px; }
  .emblem { order: -1; max-width: 150px; justify-self: start; }
  .emblem-card { border-radius: 22px; }
  .emblem-top, .emblem-bottom { display: none; }
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 400 14px/1 var(--head); color: var(--on-ink-dim); margin-bottom: clamp(22px, 4vh, 36px); }
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
.pip { width: 26px; height: 1px; background: currentColor; }
.display { font-weight: 500; letter-spacing: -.02em; }
.hero h1 { font-size: clamp(42px, 6.2vw, 92px); line-height: 1.16; }
html[lang="en"] .hero h1 { line-height: 1.02; letter-spacing: -.035em; }
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line > span { display: block; animation: lift 1.1s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 100ms); }
.line:last-child > span { color: #fff; }
.line:not(:last-child) > span { color: rgba(230, 238, 238, .56); }
@keyframes lift { from { transform: translateY(105%); } }
.rise { animation: fade-up 1s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 200ms); }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }

.lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--on-ink-dim); max-width: 30em; text-wrap: pretty; }

.meta { list-style: none; margin: 0; padding: 22px 0 28px; border-top: 1px solid rgba(230, 238, 238, .12); display: flex; flex-wrap: wrap; gap: 10px clamp(24px, 6vw, 80px); font: 400 15px/1.4 var(--head); color: var(--on-ink-dim); }
.meta li { display: flex; align-items: baseline; gap: 10px; }
.n { font: 400 11px/1 var(--head); letter-spacing: .08em; opacity: .55; font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
  font: 500 15px/1 var(--head); padding: 9px 9px 9px 22px; border-radius: 999px;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s var(--ease);
}
[dir="rtl"] .btn { padding: 9px 22px 9px 9px; }
.btn .arrow { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 14px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--mist); color: var(--ink); }
.btn-light .arrow { background: var(--ink); color: var(--mist); }
.btn-light:hover { box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .5); }
.btn-light:hover .arrow { transform: translateY(2px); }
.btn-ink { background: var(--ink); color: var(--mist); }
.btn-ink .arrow { background: var(--mist); color: var(--ink); }
.btn-ink:hover { box-shadow: 0 16px 40px -14px rgba(13, 43, 48, .55); }
.btn-ink:hover .arrow { transform: translate(-2px, -2px); }
[dir="ltr"] .btn-ink:hover .arrow { transform: translate(2px, -2px); }

/* ---------- Section heads ---------- */
section { position: relative; }
.head { display: grid; gap: 16px; margin-bottom: clamp(36px, 6vw, 64px); }
.label { display: inline-flex; align-items: baseline; gap: 10px; font: 400 14px/1 var(--head); color: var(--sage); }
html[lang="en"] .label { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
.label .n { opacity: 1; }
h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.2; letter-spacing: -.015em; font-weight: 500; }
html[lang="en"] h2 { letter-spacing: -.03em; line-height: 1.08; }

/* ---------- Products ---------- */
.products { padding-block: clamp(90px, 13vw, 170px) clamp(70px, 10vw, 130px); }
.product {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-radius: 32px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(13, 43, 48, .03), 0 30px 80px -40px rgba(13, 43, 48, .28);
}
.product-text { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 22px; }
.product-id { display: flex; align-items: center; gap: 16px; }
.app-icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px -10px rgba(13, 43, 48, .3); }
.tag { font: 400 13px/1 var(--head); color: var(--sage); margin-bottom: 8px; }
html[lang="en"] .tag { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.product h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; line-height: 1.15; }
.product-line { font: 500 clamp(20px, 2vw, 26px)/1.4 var(--head); letter-spacing: -.01em; }
.product-body { color: var(--slate); max-width: 34em; }
.points { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.points li { display: flex; align-items: center; gap: 14px; padding-block: 13px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.points li::before { content: ''; flex: none; width: 14px; height: 1.5px; background: var(--sage); transform: rotate(-62deg); }
[dir="rtl"] .points li::before { transform: rotate(62deg); }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: auto; padding-top: 8px; }
.status { display: inline-flex; align-items: center; gap: 12px; font: 400 14px/1 var(--head); color: var(--slate); }
.live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.live::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--sage); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* The visual side is cut at the mark's angle. */
.product-visual {
  position: relative; min-height: 580px; overflow: hidden;
  background: radial-gradient(90% 70% at 50% 40%, #1A4A52 0%, var(--ink) 60%, var(--ink-deep) 100%);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}
[dir="rtl"] .product-visual { clip-path: polygon(0 0, 84% 0, 100% 100%, 0 100%); }
.product-visual::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-62deg, transparent 0 34px, rgba(230, 238, 238, .04) 34px 35px);
}
[dir="rtl"] .product-visual::before { background: repeating-linear-gradient(62deg, transparent 0 34px, rgba(230, 238, 238, .04) 34px 35px); }
.phone {
  position: absolute; width: min(240px, 44%); aspect-ratio: 1080 / 2340; border-radius: 34px; padding: 7px;
  background: #0B1416; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 40px 80px -30px rgba(0, 0, 0, .7);
  transition: transform .9s var(--ease);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 28px; }
.phone.front { top: 11%; inset-inline-start: 44%; transform: rotate(-4deg); z-index: 2; }
.phone.back { top: 21%; inset-inline-start: 18%; transform: rotate(-11deg) scale(.88); opacity: .5; filter: saturate(.6); }
[dir="rtl"] .phone.front { transform: rotate(4deg); }
[dir="rtl"] .phone.back { transform: rotate(11deg) scale(.88); }
.product:hover .phone.front { transform: rotate(-2deg) translateY(-10px); }
.product:hover .phone.back { transform: rotate(-13deg) scale(.88) translateY(4px); }
[dir="rtl"] .product:hover .phone.front { transform: rotate(2deg) translateY(-10px); }
[dir="rtl"] .product:hover .phone.back { transform: rotate(13deg) scale(.88) translateY(4px); }

.next { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 22px 26px; border: 1px dashed #C3D0CD; border-radius: 20px; color: var(--slate); font: 400 15px/1.4 var(--head); }
.ghost { width: 22px; color: #B8C7C4; }
.ghost .dot { fill: #B8C7C4; }

@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .product-visual { min-height: 420px; order: -1; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
  [dir="rtl"] .product-visual { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%); }
  .phone { width: min(190px, 40%); }
  .phone.front { top: 10%; inset-inline-start: 46%; }
  .phone.back { top: 16%; inset-inline-start: 14%; }
}

/* ---------- How we work ---------- */
.how { padding-block: clamp(80px, 11vw, 150px); background: var(--mist); border-block: 1px solid var(--line); }
.parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.parts li {
  position: relative; padding: clamp(26px, 3vw, 38px); border-radius: 28px; background: var(--paper);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s, opacity 1s var(--ease);
}
.parts li:hover { transform: translateY(-6px); border-color: #C3D0CD; box-shadow: 0 30px 60px -36px rgba(13, 43, 48, .35); }
.part-art { width: 84px; color: var(--ink); margin-bottom: clamp(26px, 4vw, 48px); }
.part-art svg { width: 100%; height: auto; }
.part-name { display: flex; align-items: baseline; gap: 10px; font: 400 13px/1 var(--head); color: var(--sage); }
.parts h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.01em; }
.parts p:last-child { color: var(--slate); font-size: 16px; }
@media (max-width: 860px) { .parts { grid-template-columns: 1fr; } .part-art { width: 64px; margin-bottom: 18px; } }

/* ---------- Contact ---------- */
.contact {
  overflow: hidden; isolation: isolate; color: var(--on-ink);
  background: radial-gradient(100% 120% at 50% 0%, #123940 0%, var(--ink) 50%, var(--ink-deep) 100%);
  padding-block: clamp(100px, 14vw, 180px);
}
.contact .label { color: #8DB5AE; }
.contact h2 { font-size: clamp(56px, 11vw, 150px); line-height: 1.05; letter-spacing: -.03em; margin: 18px 0 22px; color: #fff; }
html[lang="en"] .contact h2 { letter-spacing: -.05em; }
.contact .lede { margin-bottom: clamp(36px, 5vw, 56px); }
.contact-mark { position: absolute; z-index: -1; inset-inline-end: 4vw; top: 50%; transform: translateY(-50%); width: min(30vw, 380px); color: rgba(230, 238, 238, .035); }
.contact-mark .giant { width: 100%; height: auto; }
.mail {
  display: inline-flex; align-items: center; gap: 18px; text-decoration: none;
  font: 400 clamp(24px, 4vw, 48px)/1.1 var(--head); letter-spacing: -.02em;
  padding-bottom: 12px; border-bottom: 1px solid rgba(230, 238, 238, .25);
  transition: border-color .3s, gap .4s var(--ease), opacity 1s var(--ease), transform 1s var(--ease);
}
.mail .arrow { font-size: .6em; transition: transform .4s var(--ease); }
.mail:hover { border-color: #fff; gap: 26px; }
.mail:hover .arrow { transform: translate(3px, -3px); }

/* ---------- Footer ---------- */
.foot { background: var(--ink-deep); color: var(--on-ink-dim); padding-block: 40px; font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.foot .lockup { color: var(--on-ink); }
.foot-legal { line-height: 1.7; }
.foot-links { display: flex; gap: 22px; font-family: var(--head); }
.foot-links a { text-decoration: none; opacity: .8; transition: opacity .2s, color .2s; }
.foot-links a:hover { opacity: 1; color: #fff; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease), box-shadow .5s var(--ease), border-color .3s; transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .parts li.reveal.in:hover { transform: translateY(-6px); transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
