/* Tamara filters case study: shared styles.
   Look: mrtasin UI (black and white, hairline borders, small radii, no accent colour).
   Type: kept from the Mercury-style pass (one grotesk at 400 and 500, big ghosted headings,
   24px statements, short titles that end with a period). */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --ground: #ffffff;
  --panel: #f5f5f5;
  --ink: #0a0a0a;
  --primary: #171717;
  --soft: #737373;
  --ghost: #8a8a8a;
  --line: #e5e5e5;
  --ring: #a1a1a1;
  --brand: #0a0a0a;
  --brand-button: #171717;
  --brand-text: #0a0a0a;
  --black: #000000;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --radius-2xl: 18px;
  --shadow-xs: 0 1px 2px 0 #0000000d;
  --shadow-sm: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
  --type: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --nav-type: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--type);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }

.container { max-width: 1280px; margin: 0 auto; padding-left: max(30px, env(safe-area-inset-left, 0px)); padding-right: max(30px, env(safe-area-inset-right, 0px)); }
@media (max-width: 767px) { .container { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }

/* ---------- Nav (black and white) ---------- */
.site-nav { padding-top: 24px; }
.site-nav .bar { display: flex; align-items: center; justify-content: space-between; }
.site-nav .logo { display: block; transition: opacity .15s; }
.site-nav .logo:hover { opacity: .7; }
.site-nav .logo img { padding: 10px 0; width: 116px; height: auto; }
.site-nav .links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: var(--ink); text-decoration: none; background: transparent;
  border-radius: var(--radius-md); padding: 9px 16px;
  font-family: var(--nav-type); font-size: 15px; line-height: 20px; font-weight: 500;
  transition: background-color .15s, color .15s;
}
.nav-link:hover { background: var(--panel); }
.nav-link.get-in-touch { background: var(--primary); color: #fafafa; margin-left: 4px; }
.nav-link.get-in-touch:hover { background: rgba(23, 23, 23, .9); }
/* mobile navigation: the same as mrtasin.com */
.mobile-bar, .mobile-menu { display: none; }
@media (max-width: 767px) {
  .site-nav { padding-top: 0; height: 76px; }
  .site-nav .bar { display: none; }
  .mobile-bar {
    display: flex; align-items: center; justify-content: space-between;
    position: fixed; z-index: 1000; top: 0; left: 0; right: 0;
    padding: calc(16px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) 16px max(24px, env(safe-area-inset-left, 0px));
    background: #e6e6e6; transition: transform .35s ease, background-color .25s ease;
  }
  .mobile-bar.away { transform: translateY(-100%); }
  .mobile-bar.blur { background: rgba(230, 230, 230, .97); }
  .mobile-bar img.logo-img { max-width: 100px; }
  .round-btn { width: 48px; height: 44px; border: 0; padding: 0; cursor: pointer; border-radius: 56px; display: flex; align-items: center; justify-content: center; background: #f7f7f7; box-shadow: 3px 3px #000; }
  .mobile-menu {
    display: block; position: fixed; z-index: 10000; inset: 0; overflow: auto;
    background: #303030; padding: calc(26px + env(safe-area-inset-top, 0px)) 24px 26px;
    transform: translateY(-100%); transition: transform .4s ease; visibility: hidden;
  }
  .mobile-menu.open { transform: none; visibility: visible; }
  .mobile-menu .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; }
  .mobile-menu .round-btn { background: rgba(247, 247, 247, .2); box-shadow: none; }
  .mobile-menu .row { max-width: 330px; margin: 0 auto 16px; display: flex; justify-content: space-between; gap: 16px; }
  .mobile-menu .tile { flex: 1; max-width: 170px; height: 142px; border-radius: 24px; background: #595959; color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--nav-type); font-size: 32px; line-height: 38px; text-decoration: none; }
  .mobile-menu .round { flex: none; width: 142px; height: 142px; border-radius: 50%; background: rgba(89, 89, 89, .1); display: flex; align-items: center; justify-content: center; }
  .mobile-menu .round img { width: 64px; }
  .mobile-menu .touch { display: flex; align-items: center; justify-content: center; max-width: 330px; height: 190px; margin: 0 auto; border-radius: 24px; background: #f04a00; color: #fff; font-family: var(--nav-type); font-size: 32px; line-height: 42px; text-decoration: none; box-shadow: 6px 6px #000; }
  .mobile-menu .quote { color: rgba(255, 255, 255, .5); text-align: center; margin-top: 40px; font-size: 12px; line-height: 150%; }
}

/* ---------- Type (Mercury, unchanged) ---------- */
.eyebrow { font-size: 16px; line-height: 24px; color: var(--soft); }
.display { font-size: 80px; line-height: 84px; letter-spacing: -0.02em; font-weight: 500; }
.display .ghost { color: var(--ghost); }
.title { font-size: 48px; line-height: 54px; letter-spacing: -0.015em; font-weight: 500; }
.statement { font-size: 24px; line-height: 36px; max-width: 680px; }
.body { font-size: 18px; line-height: 28px; max-width: 680px; }
.soft { color: var(--soft); }
.small { font-size: 14px; line-height: 20px; }
@media (max-width: 991px) { .display { font-size: 60px; line-height: 64px; } }
@media (max-width: 767px) {
  .display { font-size: 44px; line-height: 48px; }
  .title { font-size: 34px; line-height: 40px; }
  .statement { font-size: 21px; line-height: 31px; }
}

/* badges, as in mrtasin UI */
.badge { display: inline-flex; align-items: center; gap: 4px; width: fit-content; border-radius: 9999px; border: 1px solid transparent; padding: 2px 10px; font: 500 12px/16px var(--type); white-space: nowrap; }
.badge-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.badge-default { background: var(--primary); color: #fafafa; }

/* one action in the nav: the prototype */
.nav-cta { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--radius-lg); background: var(--primary); color: #fafafa; text-decoration: none; font: 500 15px/20px var(--type); white-space: nowrap; transition: background-color .15s; }
.nav-cta:hover { background: rgba(23, 23, 23, .88); }
.nav-cta svg { width: 16px; height: 16px; }
@media (max-width: 767px) { .mobile-bar .nav-cta { height: 36px; padding: 0 14px; font-size: 14px; gap: 6px; } .mobile-bar .nav-cta svg { width: 14px; height: 14px; } }
