/* ==========================================================================
   BARLIN Studio — shared styles
   Shared building blocks (fonts, colours, buttons, header, footer...).
   The home page's own sections are styled in home.css.

   1. Fonts
   2. Design tokens (colours, spacing, motion)
   3. Base / reset
   4. Text styles
   5. Buttons (the "glass" pills)
   6. Header + menu
   7. Drawer (contact form, template info)
   8. Testimonials
   9. FAQ
   10. Footer
   11. Scroll reveal helpers
   12. Responsive (tablet ≤ 1199px, phone ≤ 809px)
   ========================================================================== */


/* 1. Fonts ----------------------------------------------------------------- */

@font-face {
  font-family: "TWK Lausanne";
  src: url("../assets/fonts/twk-lausanne-300.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "TWK Lausanne";
  src: url("../assets/fonts/twk-lausanne-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "TWK Lausanne";
  src: url("../assets/fonts/twk-lausanne-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}


/* 2. Design tokens ---------------------------------------------------------- */

:root {
  --font: "TWK Lausanne", "Helvetica Neue", Arial, sans-serif;

  --light: #efefef;            /* page background */
  --dark: #000;
  --white: #fff;

  --ink: rgba(0, 0, 0, 0.96);          /* text on light */
  --ink-muted: rgba(0, 0, 0, 0.6);
  --ink-faint: rgba(0, 0, 0, 0.2);
  --paper: rgba(255, 255, 255, 0.96);  /* text on dark */
  --paper-muted: rgba(255, 255, 255, 0.6);

  --gutter: 40px;              /* left/right page padding */
  --header-h: 84px;

  --ease: cubic-bezier(0.44, 0, 0.56, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}


/* 3. Base ------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--light);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: inherit; font-size: inherit; line-height: inherit; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
img, video { object-fit: cover; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }

.container { width: 100%; padding-inline: var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Sections tell the header which colour scheme to use: data-theme="dark" | "light" */
.section--dark { background: var(--dark); color: var(--paper); }
.section--light { background: var(--light); color: var(--ink); }


/* 4. Text styles -------------------------------------------------------------
   Every size in the design, named by font size. Big text gets tighter tracking. */

.t-12  { font-size: 12px;  line-height: 16px;  letter-spacing: -0.005em; }
.t-14  { font-size: 14px;  line-height: 20px;  letter-spacing: -0.005em; }
.t-16  { font-size: 16px;  line-height: 24px;  letter-spacing: -0.005em; }
.t-20  { font-size: 20px;  line-height: 28px;  letter-spacing: -0.005em; }
.t-24  { font-size: 24px;  line-height: 32px;  letter-spacing: -0.01em; }
.t-36  { font-size: 36px;  line-height: 44px;  letter-spacing: -0.02em; }
.t-44  { font-size: 44px;  line-height: 52px;  letter-spacing: -0.02em; }
.t-56  { font-size: 56px;  line-height: 64px;  letter-spacing: -0.03em; }
.t-64  { font-size: 64px;  line-height: 72px;  letter-spacing: -0.03em; }
.t-72  { font-size: 72px;  line-height: 80px;  letter-spacing: -0.03em; }
.t-88  { font-size: 88px;  line-height: 96px;  letter-spacing: -0.03em; }
.t-180 { font-size: 180px; line-height: 164px; letter-spacing: -0.03em; }

.light  { font-weight: 300; }
.medium { font-weight: 500; }
.muted  { opacity: 0.6; }

/* Small grey label above a block ("About", "Our Services", "Testimonial") */
.label { font-size: 12px; line-height: 16px; letter-spacing: -0.005em; }


/* 5. Buttons ----------------------------------------------------------------
   The pill buttons look like frosted glass: a translucent fill, a hairline
   outline, soft inner shadows and white highlights on the top/bottom edges.
   .btn          light glass (on light backgrounds)
   .btn--dark    dark glass (on dark backgrounds)
   Sizes: .btn (52px tall), .btn--md (40px), .btn--icon (round). */

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 36px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease-out;
}
/* buttons grow a little on hover (the logo doesn't) */
.btn:not(.btn--logo):hover { transform: scale(1.03); }
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
/* fill + outline + inner shadow */
.btn::before {
  z-index: -1;
  background: rgba(200, 200, 200, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.14),
    0 8px 16px rgba(0, 0, 0, 0.02),
    inset 20px 0 20px -30px rgba(0, 0, 0, 0.12),
    inset -20px 0 20px -30px rgba(0, 0, 0, 0.12),
    inset 0 40px 30px -40px rgba(0, 0, 0, 0.08);
}
/* white edge highlights */
.btn::after {
  box-shadow:
    inset 0 -40px 10px -40px rgba(255, 255, 255, 0.96),
    inset 0 40px 10px -40px rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(255, 255, 255, 0.88),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.btn--dark { color: var(--white); }
.btn--dark::before {
  background: rgba(153, 153, 153, 0.16);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.25),
    0 8px 16px rgba(0, 0, 0, 0.04),
    inset -20px 0 20px -30px rgba(0, 0, 0, 0.3),
    inset 20px 0 20px -30px rgba(0, 0, 0, 0.3);
}
.btn--dark::after { opacity: 0.3; }

.btn--md   { height: 40px; padding: 0 24px; }
.btn--icon { width: 52px; padding: 0; }
.btn--icon.btn--md { width: 40px; }
.btn--logo { padding: 0 24px; font-size: 28px; line-height: 36px; font-weight: 500; letter-spacing: -0.01em; }

.btn svg { width: 20px; height: 20px; }

/* Letter blur: on hover a soft blur runs through the label, letter by letter.
   JS wraps each letter in .letter and adds .is-waving on hover (see main.js). */
.letters { white-space: pre; }
.letter { display: inline-block; }
.is-waving .letter {
  animation: letter-blur 0.2s ease-in-out both;
  animation-delay: calc(var(--i) * 33ms);
}
@keyframes letter-blur {
  50% { filter: blur(2px); }
}


/* 6. Header + menu ------------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px var(--gutter) 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease-out);
}
.site-header > * { pointer-events: auto; }

.menu {
  position: absolute;
  left: 50%;
  top: 32px;
  transform: translateX(-50%);
}

/* the "=" icon that turns into "×" */
.menu__icon {
  position: relative;
  display: block;
  width: 15px;
  height: 8px;
}
.menu__icon::before,
.menu__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  /* a little overshoot, like a spring */
  transition: transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1), top 0.25s ease;
}
.menu__icon::before { top: 0; }
.menu__icon::after  { top: 6.5px; }
.menu.is-open .menu__icon::before { top: 3.25px; transform: rotate(45deg); }
.menu.is-open .menu__icon::after  { top: 3.25px; transform: rotate(-45deg); }

.menu__panel {
  position: absolute;
  top: 64px;
  left: 50%;
  width: 416px;
  padding: 24px 32px 40px;
  border-radius: 24px;
  background: rgba(239, 239, 239, 0.72);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.1),
    0 24px 48px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: var(--ink);
  /* closed: half size, a little low, invisible */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(29px) scale(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0.2s;
}
/* open: grows to full size */
.menu.is-open .menu__panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}
/* closing: shrinks and floats up (main.js adds .is-closing for a moment) */
.menu.is-closing .menu__panel { transform: translateX(-50%) translateY(-29px) scale(0.5); }
.menu.is-open .menu__toggle { transform: scale(1.03); }
.site-header[data-theme="dark"] .menu__panel {
  background: rgba(40, 40, 40, 0.6);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.menu__links li { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.site-header[data-theme="dark"] .menu__links li { border-color: rgba(255, 255, 255, 0.05); }
.menu__links a,
.menu__links span {
  display: flex;
  align-items: center;
  height: 64px;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.01em;
}
.menu__links span { cursor: default; }

.menu__social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 20px;
}
.menu__social a { opacity: 0.6; transition: opacity 0.3s; }
.menu__social a:hover { opacity: 1; }

/* Blur behind the header so text scrolling underneath stays readable */
.header-blur {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 120px;
  pointer-events: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(#000 20%, transparent);
  mask-image: linear-gradient(#000 20%, transparent);
}


/* 7. Drawer --------------------------------------------------------------------
   A white panel that slides in from the right (contact form, template info).
   Open it with a link/button that has data-open="contact" (see main.js). */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  transition: visibility 0s 0.7s;
}
.drawer.is-open { visibility: visible; transition: none; }

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(239, 239, 239, 0.01);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }

.drawer__panel {
  position: absolute;
  top: 8px;
  right: 8px;
  bottom: 8px;
  width: 380px;
  overflow-y: auto;
  padding: 24px 28px 40px;
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  transform: translateX(calc(100% + 16px));
  transition: transform 0.7s var(--ease-out);
}
.drawer.is-open .drawer__panel { transform: none; }

.drawer__close {
  display: flex;
  margin: 0 0 24px auto;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.drawer__close svg { width: 20px; height: 20px; }

.drawer__title { margin-bottom: 40px; font-size: 36px; line-height: 44px; letter-spacing: -0.02em; }

/* contact form */
.form { display: grid; gap: 28px; }
.form label { display: grid; gap: 10px; font-size: 14px; line-height: 20px; }
.form input,
.form select,
.form textarea {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.form textarea { height: 100px; padding: 12px; resize: vertical; }
.form input::placeholder,
.form textarea::placeholder { color: rgba(0, 0, 0, 0.5); }
.form input:focus,
.form select:focus,
.form textarea:focus { border-color: rgba(0, 0, 0, 0.4); }
.form select {
  padding-inline: 16px;
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 12px;
}
.form .btn { justify-self: start; margin-top: 8px; }


/* 8. Testimonials ---------------------------------------------------------------
   Three quotes, each one screen tall. The quote text is pale and turns dark
   word by word as you scroll (main.js → highlightWords). The "Testimonial"
   label and the author names stay pinned in the side columns. */

.testimonials { position: relative; }
.testimonials__grid {
  display: grid;
  grid-template-columns: 210px 1fr 210px;
  gap: 20px;
}
.testimonials__side {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
}
.testimonials__side--right { justify-content: flex-end; text-align: right; }
.testimonials__authors { position: relative; height: 16px; min-width: 200px; }
.testimonials__authors li {
  position: absolute;
  right: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease-out);
}
.testimonials__authors li.is-active { opacity: 1; transform: none; }

.testimonial {
  height: 100vh;
  max-width: 800px;
  padding-top: calc(50vh - 220px);
}
/* the quote holds still for a moment while it lights up */
.testimonial blockquote {
  position: sticky;
  top: calc(50vh - 270px);
  min-height: 440px;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.02em;
  font-weight: 300;
}
.testimonial .word { color: var(--ink-faint); white-space: nowrap; transition: color 0.25s linear; }
.testimonial .word.is-lit { color: var(--ink); }


/* 9. FAQ --------------------------------------------------------------------------- */

.faq { padding: 200px var(--gutter); }
.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1130px;
  margin-left: calc(95px + 20px);
}
.faq__head {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 32px 52px;
}
.faq__head h2 { max-width: 440px; font-size: 64px; line-height: 72px; letter-spacing: -0.03em; }
.faq__col { display: grid; gap: 20px; align-content: start; }

.faq-item {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  transition: transform 0.5s var(--ease-out);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 1.3px;
  margin: -0.65px 0 0 -6.5px;
  border-radius: 1px;
  background: currentColor;
}
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__icon { transform: rotate(45deg) scale(1.4); }

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.faq-item__answer > div { overflow: hidden; }
.faq-item__answer p {
  padding: 0 32px 32px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  color: var(--ink-muted);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.faq-item.is-open .faq-item__answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-item__answer p { opacity: 1; transition-delay: 0.1s; }


/* 10. Footer ----------------------------------------------------------------------- */

.site-footer {
  position: relative;
  z-index: 61;               /* above .footer-blur (and the header) */
  padding: 72px var(--gutter) 20px;
  color: var(--white);
}
/* the black fade that rises behind the footer: starts 612px above it,
   fully black 288px into it */
.site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: -612px;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0), #000 900px);
  pointer-events: none;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1fr 210px 210px;
  gap: 20px;
  padding-bottom: 60px;
}
.site-footer__credits { font-weight: 300; color: var(--paper-muted); }
.site-footer__credits a { color: var(--white); }
.site-footer__col { display: grid; gap: 16px; align-content: start; }
.site-footer__col ul { display: grid; gap: 8px; }
.site-footer__col a { font-size: 24px; line-height: 32px; letter-spacing: -0.01em; }
.site-footer__bottom {
  position: relative;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
/* The big studio name at the bottom. It is real text: js/main.js (fitText)
   sets the font size so it fills the full width. On phones only the short
   name is shown, like the original. */
.site-footer__wordmark {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.wordmark { display: inline-block; font-size: 23vw; }   /* the script fine-tunes this */
.wordmark--short { display: none; }
.site-footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.site-footer__meta .btn { margin-top: -20px; }

/* Clock: "3:41 AM (GMT +7)" */
.clock { display: flex; gap: 4px; font-weight: 300; }
.clock span + span { opacity: 0.6; }

/* Full-screen blur that fades in as the footer arrives (it also covers the header) */
.footer-blur {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
}


/* 11. Scroll reveal ------------------------------------------------------------------
   Add data-reveal to fade an element up when it scrolls into view.
   Add data-reveal="words" to reveal a heading word by word. */

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="words"] { opacity: 1; transform: none; }
[data-reveal="words"] .word {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), filter 0.8s var(--ease), transform 1s var(--ease-out);
  transition-delay: calc(var(--i) * 25ms);
}
[data-reveal="words"].is-visible .word { opacity: 1; filter: none; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-reveal], [data-reveal="words"] .word { opacity: 1; transform: none; filter: none; }
}


/* 12. Responsive ------------------------------------------------------------------------ */

@media (max-width: 1199px) {
  :root { --gutter: 32px; }
  .testimonials__grid { grid-template-columns: 140px 1fr 160px; }
  .faq__inner { margin-left: 0; }
}

@media (max-width: 809px) {
  :root { --gutter: 20px; }

  .site-header { padding-top: 16px; }
  .menu { top: 16px; }
  .btn { height: 48px; padding: 0 24px; }
  .btn--icon { width: 48px; padding: 0; }
  .btn--md { height: 40px; }
  .btn--icon.btn--md { width: 40px; }
  .btn--logo { font-size: 26px; padding: 0 20px; }
  .site-header .btn:not(.btn--logo):not(.btn--icon) { padding: 0 20px; }
  /* on phones the menu button moves to the right, next to "Get in touch" */
  .menu { left: auto; right: var(--gutter); transform: none; }
  .site-header .btn--contact { margin-right: 52px; }
  .menu__panel { position: fixed; top: 72px; left: var(--gutter); right: var(--gutter); width: auto; transform: translateY(29px) scale(0.5); }
  .menu.is-open .menu__panel { transform: none; }
  .menu.is-closing .menu__panel { transform: translateY(-29px) scale(0.5); }

  .t-88 { font-size: 44px; line-height: 48px; }
  .t-72 { font-size: 44px; line-height: 48px; }
  .t-64 { font-size: 40px; line-height: 44px; }
  .t-56 { font-size: 40px; line-height: 44px; }
  .t-44 { font-size: 24px; line-height: 32px; }
  .t-36 { font-size: 24px; line-height: 32px; }
  .t-180 { font-size: 120px; line-height: 112px; }

  .drawer__panel { width: auto; left: 8px; }

  .testimonials__grid { display: block; padding: 120px 0 80px; }
  .testimonials__side { position: static; height: auto; margin-bottom: 40px; }
  .testimonials__side--right { display: none; }
  .testimonial { height: auto; padding: 0 0 80px; }
  .testimonial blockquote { position: static; min-height: 0; font-size: 24px; line-height: 32px; }
  .testimonial cite { display: block; margin-top: 24px; font-style: normal; font-size: 12px; line-height: 16px; }

  .faq { padding: 120px var(--gutter); }
  .faq__inner { grid-template-columns: 1fr; }
  .faq__head { flex-direction: column; align-items: center; gap: 24px; padding: 0 0 32px; text-align: center; }
  .faq__head h2 { font-size: 40px; line-height: 44px; }
  .faq-item summary { padding: 24px; }
  .faq-item__answer p { padding: 0 24px 24px; }

  .site-footer__top { grid-template-columns: 1fr 1fr; row-gap: 64px; }
  .site-footer__credits { grid-column: 1 / -1; }
  .site-footer__meta .btn { margin-top: 0; }
  .wordmark--long { display: none; }
  .wordmark--short { display: inline-block; font-size: 36vw; }
}

@media (min-width: 810px) {
  .testimonial cite { display: none; }
}

/* very small phones (e.g. 320px wide): tighter header buttons so they don't touch */
@media (max-width: 379px) {
  .btn--logo { font-size: 20px; padding: 0 14px; }
  .site-header .btn--contact { padding: 0 14px; }
}
