/* Tamara filters case study: shared styles.
   Nav copied from mrtasin.com (Sofia Sans, pill links with a hard black shadow).
   Content follows the Mercury design language: one grotesk at 400 and 500 only, grey ground,
   big quiet headings, 24px statement paragraphs, short titles that end with a period. */
:root {
  color-scheme: light;
  --ground: #e6e6e6;
  --paper: #f7f7f7;
  --ink: #333333;
  --soft: #5c5c5c;
  --ghost: #848484;
  --line: rgba(51, 51, 51, 0.16);
  --brand: #f04a00;
  --brand-button: #f04a00;
  --brand-text: #f04a00;
  --black: #000000;
  --type: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --nav-type: "Sofia Sans", "Inter Tight", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  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 (from mrtasin.com) ---------- */
.site-nav { padding-top: 32px; }
.site-nav .bar { display: flex; align-items: center; justify-content: space-between; }
.site-nav .logo { display: block; transition: filter .275s; }
.site-nav .logo:hover { filter: brightness(200%); }
.site-nav .logo img { padding: 10px 0; width: 116px; height: auto; }
.site-nav .links { display: flex; align-items: center; }
.nav-link {
  color: #000; text-decoration: none;
  background-color: rgba(247, 247, 247, .2);
  border-radius: 56px; margin: 0 12px; padding: 14px 37px;
  font-family: var(--nav-type); font-size: 18px; line-height: 22px;
  transition: all .275s;
}
.nav-link:last-child { margin-right: 0; }
.nav-link:hover { background-color: #f7f7f7; box-shadow: 4px 4px #000; }
.nav-link.get-in-touch { color: var(--brand-text); background-color: #f7f7f7; padding-left: 20px; padding-right: 20px; box-shadow: 4px 4px #000; }
.nav-link.get-in-touch:hover { background-color: #f0f0f0; }
.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: var(--ground);
  }
  .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: var(--brand-button); 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) ---------- */
.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; }
}
