Строгий сайт шведской юрфирмы: тёмное фото с весами и пером, курсивный Playfair, золотые акценты, прайс на синем фоне.
Промпт
Recreate the website "Adekvat Juridik" with high visual fidelity as a Tailwind CSS and Vanilla JS site. The result must match the supplied reference exactly, maintaining its Swedish language, professional law firm aesthetic, and specific positioning quirks.
### Preserve Source Quirks:
- The primary hero text uses a heavy negative translate (`-translate-x-16`) and an aggressive `scale-75 skew-x-5` transform.
- Logo images in the header and footer are scaled/transformed significantly rather than being sized by container (e.g., `scale-150` on the header logo).
- The main hero section uses a `mask-image` with a 170deg linear gradient to control text visibility.
- Section headers often mix font-weights and italicize specific words like "&" or "högsta klass" within `font-serif` headings.
### CRITICAL FIDELITY CONSTRAINTS
- The page uses a fixed background image with a specific alpha mask gradient applied via `-webkit-mask-image`.
- Navigation bar must transition from transparent to `bg-zinc-700/40` with a `backdrop-blur-[2px]` upon scrolling more than 20px.
- Interaction is mandatory for the desktop dropdown and mobile slide-out menu.
- Background pattern in Section 2 is a base64 encoded SVG dot pattern (4x4 pixels).
### TECH STACK / DEPENDENCIES
- CSS Framework: Tailwind CSS (CDN: https://cdn.tailwindcss.com)
- Icons: Lucide Icons (CDN: https://unpkg.com/lucide@latest)
- Fonts: Google Fonts
- Primary: 'Inter' (Sans-serif)
- Secondary: 'Playfair Display' (Serif)
- Additional weights for: Geist, Montserrat, Newsreader (as fallback styles used in internal utility classes).
### GLOBAL STYLE
- **Base:** `bg-black text-white antialiased selection:bg-white selection:text-black`.
- **Typography:** Titles use `font-playfair` (serif) with tight tracking; body uses `font-inter` (sans) with light/300 weights.
- **Colors:** Accent gold `#C4A470`, Deep blue `#03052b` (Pricing section), Off-white `#F9F8F6` (Experience section).
### ASSET MAP
- Hero Fixed Background: `https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/abbe90fd-9c3a-4dae-acd5-6a3d77c640af_3840w.jpg`
- Main Logo (Light): `https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/688b4ed2-0a20-4d21-8680-e661bedf8646_320w.png`
- Practice Image (Suit Detail): `https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/ff6c94fb-dd52-4770-a6cb-3510b4571bb2_1600w.jpg`
- Mobile Menu Logo (Dark): `https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/adf00919-6189-4dee-9f65-484d675b6568_800w.png`
- Footer Monogram: `https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/993d51c5-c52c-48fe-9e05-82911667c3ff_800w.png`
### MEDIA BEHAVIOR
- Background Image: `fixed top-0 w-full h-screen bg-cover bg-center -z-10` with a linear mask from 0% to 80% opacity.
- Images in cards and hero use `transition-transform duration-700 group-hover:scale-105` and `object-cover`.
### LAYER STACK / POSITIONING MAP
1. **Fixed Layer (-10):** Main background image with mask.
2. **Fixed Layer (0):** Hero gradient overlay (Black to Black/80 to Black/40).
3. **Navigation (50):** Header with `fixed` positioning, `h-24` height.
4. **Desktop Dropdown (99999):** Fixed menu triggered by hover, `backdrop-blur-md`.
5. **Mobile Overlay (99999):** Full-screen fixed container with black backdrop-blur backdrop and a `translate-x-full` panel.
6. **Content (10):** Relative wrapper for all page sections.
### SECTION 1 - HERO
- **Layout:** 12-column grid. Left span-7 (Heading), Right span-5 (Text & CTA).
- **Headline:** "Trygg juridik, när det gäller." in `italic font-playfair`. Note: `-translate-x-16` and `scale-75 skew-x-5` styling.
- **CTA:** Circular border with arrow icon next to "Upptäck mer".
### SECTION 2 - EXPERIENCE
- **Layout:** Centered flex column. Top vertical line (`h-16 w-px bg-[#C4A470]`).
- **Background:** Beige `#F9F8F6` with base64 dot pattern overlay at `opacity-[0.03]`.
- **Heading:** Serif text with gold accent on "40 års erfarenhet".
### SECTION 3 - VILKA VI ÄR
- **Layout:** 2-column grid.
- **Left:** Content with a three-item feature grid at the bottom (Icons: MessageCircle, Shield, User).
- **Right:** High-aspect ratio suit image (`h-[750px]`) with group-hover zoom.
### SECTION 4 - RÄTTSOMRÅDEN (PRACTICE AREAS)
- **Layout:** 4-column grid of white cards.
- **Cards:** `hover:-translate-y-1` effect. Includes a circular gold icon border, title, description, and "Läs mer" link with arrow.
- **Icons (SVG):** FileText, Scale, Briefcase, Building (Preserve exact stroke-width 1.5).
### SECTION 5 - PRISLISTA (PRICING)
- **Background:** Dark Navy `#03052b`.
- **Left:** Features a stylized "Offer Card" with `#050615` background and gold border details.
- **Right:** Numbered list (1, 2, 3) using `w-11 h-11` circular markers with `italic font-serif` numerals.
### SECTION 6 - FOOTER / KONTAKT
- **Layout:** Grid with Form (Left) and large centered Monogram logo (Right, `mix-blend-multiply`).
- **Form:** White inputs with `border-gray-200` and gold focus rings.
- **Bottom Bar:** Flexbox row with Copyright and Policy/Cookie links in `text-[10px]` uppercase.
### GLOBAL ANIMATION / INTERACTION RULES
- **Dropdown Logic:** Use `mouseenter/mouseleave` on `dropdown-trigger` with a 100ms timeout check to hide. Rotate `dropdown-arrow` on active.
- **Mobile Menu:** Panel slides in from right via `translate-x-0` on trigger. Background scroll is disabled (`overflow-hidden` on body).
- **Smooth Scroll:** Enabled on `<html>` element.
### IMPLEMENTATION REQUIREMENTS
- Preserve exact Swedish text including: "Trygg juridik, när det gäller.", "Rättsområden", "Boka konsultation".
- Use original Lucide icon paths for the "Send" (paper plane), "Phone", and "Mail" icons.
- Maintain the specific header height and scale-up logic of the logos.
- Use the exact asset URLs provided; do not substitute.
Промпт на английском — ИИ-инструменты понимают его лучше
Сайт шведской юридической фирмы. Первый экран: затемнённое фото руки с пером над книгой и золотыми весами, поверх него курсивный заголовок «Trygg juridik, när det gäller.» и описание с круглой кнопкой «Upptäck mer». Шапка при прокрутке превращается в полупрозрачное стекло. Дальше идут светлый блок «40 års erfarenhet», блок «Vilka vi är» с высоким фото костюма, четыре карточки «Rättsområden» с золотыми кольцами, прайс на глубоком синем фоне и форма с крупной монограммой-логотипом. Меню на компьютере раскрывается при наведении, на телефоне выезжает панелью справа.
Как получить такой же результат
Запускайте промпт в Claude: Tailwind CDN и Lucide подключаются скриптами. Путь Lucide на unpkg иногда отдаёт 404, надёжнее https://cdn.jsdelivr.net/npm/lucide@0.469.0/dist/umd/lucide.min.js.
Класс skew-x-5 из промпта в обычном Tailwind CDN версии 3 не существует, поэтому заголовок получается без наклона. Если нужен наклон, напишите в запросе style="transform: skewX(-5deg)".
Маска mask-image на первом экране обрезает всё, что выходит за границы блока. Из-за сдвига заголовка влево на 4 rem его левый край сначала пропадал, и мы повесили маску на весь блок, а не на внутреннюю сетку.
Тёмный градиент поверх фона в промпте написан как «чёрный, чёрный 80%, чёрный 40%» без направления. Мы направили его слева направо, чтобы текст слева читался, а правая сторона с весами оставалась светлой. Маска фона идёт от прозрачного к 80% вниз: так нижняя часть с книгой остаётся яркой.
Тексты шведские и придуманы Claude. Замените названия областей права, цены и имена на свои, а логотипы подставьте по ссылкам из промпта.