/* SommaRedde International, site stylesheet v0.1 */
@font-face { font-family: "Lato"; src: url("Lato-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("Lato-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lato"; src: url("Lato-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("Lato-BoldItalic.ttf") format("truetype"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Lato"; src: url("Lato-Black.ttf") format("truetype"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --red: #da2128;
  --grey: #6d6e71;
  --ink: #1b1b1d;
  --paper: #ffffff;
  --pale: #f6f6f7;
  --rule: #e8e8ea;
  --measure: 66ch;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--red); }
p { margin: 0 0 1.1em; max-width: var(--measure); }
h1, h2, h3 { font-weight: 700; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: 52px; }
h2 { font-size: 34px; line-height: 1.2; }
h3 { font-size: 22px; line-height: 1.3; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.grey { color: var(--grey); }
.small { font-size: 15px; line-height: 1.5; }

/* header */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.wordmark img { height: 34px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; font-size: 16px; }
.nav a.button { background: var(--red); color: #fff; padding: 10px 18px; border-radius: 3px; font-weight: 700; }
.nav a.button:hover { background: #b81b21; color: #fff; }

/* sections */
.section { padding: 112px 0; }
.section.tight { padding: 80px 0; }
.statement { display: grid; grid-template-columns: 6fr 6fr; gap: 56px; align-items: center; }
.statement h1 { max-width: 12ch; }
.statement p.lead { font-size: 21px; line-height: 1.55; }
.diagram { margin: 0; }
.diagram img { width: 100%; }
.diagram figcaption { color: var(--grey); font-size: 15px; margin-top: 12px; }

.band { background: var(--ink); color: #fff; padding: 88px 0; }
.band .figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.band .figure strong { display: block; font-size: 56px; font-weight: 900; line-height: 1; color: var(--red); margin-bottom: 14px; }
.band .figure span { display: block; font-size: 17px; line-height: 1.5; color: #d9d9dc; max-width: 30ch; }
.band .figure em { display: block; font-style: normal; font-size: 14px; color: #9a9ba0; margin-top: 10px; }

.pair { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.pair h2 { max-width: 14ch; }

.doors { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.doors li { border-bottom: 1px solid var(--rule); }
.doors a { display: grid; grid-template-columns: 4fr 7fr 1fr; gap: 32px; align-items: baseline; padding: 32px 0; }
.doors a h3 { margin: 0; }
.doors a p { margin: 0; color: var(--grey); max-width: none; }
.doors a .arrow { text-align: right; color: var(--red); font-size: 28px; font-weight: 700; }
.doors a:hover h3 { color: var(--red); }

.quiet { background: var(--pale); }
.quiet .three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.quiet h3 { margin-bottom: 0.4em; }
.quiet p { max-width: none; }

.cta h2 { max-width: 20ch; }
.cta .mail { font-size: 22px; font-weight: 700; color: var(--red); }
.rule-red { width: 56px; height: 3px; background: var(--red); margin: 0 0 28px; }

/* footer */
.site-footer { border-top: 1px solid var(--rule); padding: 56px 0 40px; color: var(--grey); font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.site-footer .submark { font-weight: 700; letter-spacing: 0.18em; color: var(--ink); margin-bottom: 6px; }
.site-footer .line { font-style: italic; font-weight: 700; color: var(--red); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 14px; }

/* inner pages */
.inner h1 { max-width: 16ch; }
.inner p.lead { font-size: 21px; line-height: 1.55; max-width: 60ch; }
.prose .block { margin-bottom: 40px; }
.prose .block h2 { font-size: 26px; }
.prose .block:last-child { margin-bottom: 0; }
table.functions { width: 100%; border-collapse: collapse; font-size: 16px; }
table.functions th { text-align: left; font-weight: 700; color: var(--grey); padding: 12px 16px 12px 0; border-bottom: 2px solid var(--ink); }
table.functions td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.functions td:first-child { width: 50%; }
table.functions td:last-child { font-weight: 700; color: var(--red); }
.people { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.people li { padding: 32px 0; border-bottom: 1px solid var(--rule); }
.people h3 { margin-bottom: 6px; }
.people p { margin-bottom: 6px; }
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-cols h3 { margin-bottom: 12px; }

/* reveal, once */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 400ms ease, transform 400ms ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  .section { padding: 64px 0; }
  .statement, .pair, .band .figures, .quiet .three, .site-footer .cols { grid-template-columns: 1fr; gap: 32px; }
  .statement h1 { max-width: none; }
  .doors a { grid-template-columns: 1fr; gap: 8px; }
  .doors a .arrow { text-align: left; }
  .site-header .wrap { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 14px; gap: 12px 24px; }
  .nav { flex-wrap: wrap; gap: 10px 18px; font-size: 15px; }
  .nav a.button { padding: 8px 14px; }
}
