@font-face { font-family: "Instrument Sans"; src: url(fonts/instrument-sans.woff) format("woff"); font-weight: 400 700; font-display: swap; }

@font-face {
  font-family: Manrope;
  src: url(fonts/manrope.woff) format("woff");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #101113;
  --panel: #191b1e;
  --line: #373a3e;
  --text: #f6f5f2;
  --muted: #bec0c4;
  --accent: #d8e3ed;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.65 "Instrument Sans", Arial, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.05em; }
p { color: var(--muted); }

.wrap { width: min(1340px, calc(100% - 96px)); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); }
.nav, .navlinks, .actions, .footer-inner, .footlinks { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav, .footer-inner { justify-content: space-between; }
.nav { min-height: 76px; padding-block: 10px; }
.brand { font-weight: 600; font-size: .98rem; letter-spacing: .055em; }
.navlinks, .footlinks { gap: 14px 24px; }
.navlinks > a:not(.btn), .footlinks a { font-size: .9rem; color: var(--muted); }
.navlinks a:hover, .footlinks a:hover { color: var(--text); }
.btn {
  display: inline-flex;
  min-height: 46px;
  justify-content: center;
  align-items: center;
  padding: 9px 17px;
  border: 1px solid #565b61;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
}
.btn:hover { background: #282c31; }
.btn.solid { background: var(--accent); border-color: var(--accent); color: #141719; }
.btn.solid:hover { background: #f0f4f8; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(480px, 47vw, 660px);
  margin-block-start: clamp(12px, 2vw, 30px);
  padding-block: clamp(28px, 5vw, 76px);
  overflow: hidden;
  background: var(--bg);
}
.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, var(--bg), transparent 14%),
    linear-gradient(90deg, #101113f7 6%, #101113ec 24%, #101113d6 40%, #10111386 62%, #10111336 100%);
}
.hero-copy { width: min(100%, 38rem); }
.hero-copy > p:not(.eyebrow) { color: #e9edf0; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .13em; font-size: .8rem; font-weight: 600; }
.hero h1 { font-size: clamp(2.75rem, 6vw, 6.4rem); max-width: 11ch; margin: 14px 0 19px; font-weight: 600; }
.hero h1 span { color: var(--accent); white-space: nowrap; }
.hero-copy > p:not(.eyebrow) { max-width: 39ch; }

.ricardo-cta { display: flex; justify-content: center; padding-block-start: clamp(20px, 3vw, 36px); }
.section { padding-block: clamp(43px, 6vw, 86px); }
.section h2 { font-size: clamp(2rem, 4.5vw, 4rem); font-weight: 600; }
.section p { margin-top: 15px; }
.ricardo-cta + .section { padding-block-start: clamp(20px, 3vw, 36px); }
.gallery-head { margin-bottom: 23px; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 11px; margin: 0 -4px 17px; scrollbar-width: thin; }
.filters button {
  flex: none;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 999px;
  padding: 8px 13px;
  min-height: 42px;
  font-weight: 550;
  font-size: .875rem;
}
.filters button:hover { border-color: var(--accent); }
.filters button[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: #141719; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; justify-content: flex-start; width: 100%; padding: 0; text-align: left; border: 1px solid var(--line); background: var(--panel); border-radius: 15px; overflow: hidden; }
.card:hover { border-color: var(--accent); }
.card img { flex: none; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #232427; }
.card-info { display: grid; width: 100%; gap: 4px; padding: 15px 16px; }
.card-info strong { font-size: 1rem; line-height: 1.35; }
.card-info small { color: var(--muted); font-size: .83rem; }

.service { background: var(--panel); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
.split img { height: auto; border-radius: 15px; }
.shops { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
.shop { border: 1px solid var(--line); background: var(--panel); padding: clamp(20px, 4vw, 40px); border-radius: 16px; }
.shop h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.shop .btn { margin-top: 22px; }
footer { border-top: 1px solid var(--line); padding-block: 24px; }
.site-mark { font-family: Manrope, Arial, sans-serif; display: block; width: 160px; aspect-ratio: 680 / 704; position: relative; background: #000; color: #fff; container-type: inline-size; border: 5px solid #fff; }
.mark-tagline, .mark-domain { position: absolute; white-space: nowrap; }
.mark-tagline { left: 7%; top: 63%; font-size: 4.35cqw; letter-spacing: .06em; line-height: 1; }
.mark-dot { position: absolute; right: 6%; top: 61.7%; width: 7.6%; border-radius: 50%; aspect-ratio: 1; background: #fff; }
.mark-domain { inset: 70.5% 0 auto; text-align: center; font-size: 7.2cqw; font-weight: 550; line-height: 1; letter-spacing: .015em; }
.legal { max-width: 74ch; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 4rem); overflow-wrap: anywhere; }
.legal h2 { font-size: 1.35rem; margin-top: 30px; }
.legal a { text-decoration: underline; text-underline-offset: .16em; }

dialog { width: min(1080px, calc(100% - 24px)); max-height: calc(100dvh - 24px); background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 16px; overflow: auto; }
dialog::backdrop { background: #000d; }
.dialog-head, .view-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dialog-head { margin-bottom: 12px; }
.dialog-head h2 { font-size: clamp(1.1rem, 3vw, 1.65rem); }
.full { height: min(62dvh, 710px); object-fit: contain; background: #232427; border-radius: 8px; }
.view-controls, .thumbs { margin-top: 12px; }
.thumbs { display: flex; gap: 6px; overflow: auto; }
.thumbs button { padding: 0; border: 2px solid transparent; background: none; flex: 0 0 70px; }
.thumbs button[aria-pressed=true] { border-color: var(--accent); }
.thumbs img { height: 48px; object-fit: contain; }
.iconbtn { padding: 7px 12px; min-height: 42px; background: #272a2d; border: 1px solid #5c5d61; border-radius: 8px; }
.iconbtn:disabled { opacity: .4; cursor: default; }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 48px); }
  .grid { gap: 12px; }
}

@media (max-width: 690px) {
  .wrap { width: calc(100% - 32px); }
  .nav { gap: 8px 14px; }
  .navlinks { gap: 8px 14px; }
  .navlinks .btn { min-height: 38px; }
  .split, .shops { grid-template-columns: 1fr; }
  .hero h1 { max-width: 13ch; font-size: clamp(2.15rem, 9vw, 4.1rem); overflow-wrap: anywhere; }
  .hero {
    align-items: start;
    min-height: calc((100vw - 32px) * .75 + 20px);
    padding-block: 28px 40px;
  }
  .hero-image {
    inset: 12px 0 auto;
    height: auto;
    mask-image: linear-gradient(180deg, transparent, #000 10%, #000 78%, transparent);
  }
  .hero::before {
    background: linear-gradient(180deg, #101113d9, #101113b8 62%, #10111380 100%);
  }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-info { padding: 11px; }
  .card-info strong { font-size: .9rem; }
  .full { height: auto; max-height: 60dvh; aspect-ratio: 4 / 3; }
}
@media (max-width: 345px) { .grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }

.nav-logo { flex: none; }
.nav-logo .site-mark { width: 104px; border-width: 4px; background: transparent; }
@media (max-width: 690px) { .nav-logo .site-mark { width: 82px; border-width: 3px; } }

.card-info strong, .dialog-head h2 { font-weight: 600; }

.contact-address { text-decoration: underline; text-underline-offset: .16em; overflow-wrap: anywhere; }

.mobile-menu { display: none; }
@media (max-width: 690px) {
  .nav { min-height: 0; flex-wrap: nowrap; padding-block: 9px; position: relative; }
  .nav > .navlinks { display: none; }
  .nav-logo .site-mark { width: 66px; }
  .mobile-menu { display: block; }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding-inline: 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    list-style: none;
    cursor: pointer;
    font-size: .9rem;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::after {
    content: "";
    width: 7px;
    height: 7px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-2px) rotate(45deg);
  }
  .mobile-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }
  .mobile-links {
    position: absolute;
    z-index: 5;
    inset: calc(100% + 4px) 0 auto;
    display: grid;
    padding: 6px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 32px #0008;
  }
  .mobile-links a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 46px;
    padding: 8px 13px;
    border: 0;
    border-radius: 8px;
    font-size: .95rem;
    text-align: left;
  }
  .mobile-links a:hover { background: #282c31; }
}

.model-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 16px; }
.model-links a, .model-back { color: var(--accent); text-decoration: underline; text-underline-offset: .18em; }
.model-back { display: inline-block; margin-bottom: 22px; }
.model-detail h1 { font-size: clamp(2.1rem, 5vw, 4.25rem); overflow-wrap: anywhere; }
.model-detail section { margin-top: clamp(32px, 6vw, 70px); }
.model-detail section h2 { margin-bottom: 20px; }
