@font-face {
  font-family: 'Roboto';
  src: url(fonts/roboto.woff2) format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --yellow: #ffc11e;
  --blue: #1f5bff;
  --ink: #111;
  --muted: #616161;
  --grey: #efefef;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 51px;
}
@media (max-width: 560px) { :root { --nav-h: 69px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 300 18px/1.55 'Roboto', Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; font-weight: 700; margin: 0 0 .6em; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
p { margin: 0 0 1em; }
strong { font-weight: 500; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
section { padding: clamp(56px, 9vw, 110px) 0; }
.lead { color: var(--muted); font-size: 20px; margin-bottom: 2.5em; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(243, 244, 246, .95);
  backdrop-filter: blur(6px);
}
.nav nav {
  display: flex; justify-content: center; gap: clamp(16px, 3vw, 32px);
  padding: 14px var(--gutter);
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.nav nav::-webkit-scrollbar { display: none; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--blue); }
@media (max-width: 560px) {
  .nav nav { flex-wrap: wrap; gap: 6px 18px; padding: 10px var(--gutter); }
  .nav a { font-size: 14px; }
}

/* hero */
.hero { background: var(--yellow); color: #fff; padding: clamp(80px, 14vw, 170px) 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-weight: 500; font-size: 14px; margin-bottom: 1.2em; }
.hero h1 { font-size: clamp(36px, 6.2vw, 76px); max-width: 15em; margin: 0; }
.hero .name { display: block; color: var(--ink); }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.portrait { border-radius: 4px; }
.about p { font-size: clamp(18px, 1.8vw, 22px); }
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 260px; }
}

/* clients */
.clients { padding-top: 0; }
.clients h2 { text-align: center; margin-bottom: 1.4em; }
.logos {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 48px);
  align-items: center; justify-items: center;
}
.logos li { width: 100%; display: flex; justify-content: center; }
.logos img { width: 180px; max-width: 100%; height: 64px; object-fit: contain; }
@media (max-width: 760px) { .logos { grid-template-columns: repeat(2, 1fr); } .logos img { height: 48px; } }

/* testimonials */
.testimonials { padding-top: 0; }
.quote { margin: 0 0 64px; }
.quote:last-child { margin-bottom: 0; }
.quote blockquote {
  position: relative; margin: 0 0 32px; padding: 28px 0;
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  font-size: clamp(17px, 1.7vw, 20px); font-weight: 400;
}
.quote blockquote::after {
  content: ''; position: absolute; left: 32px; bottom: -19px;
  width: 30px; height: 30px; background: #fff;
  border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: rotate(45deg);
}
.quote figcaption { display: flex; align-items: center; gap: 16px; font-size: 15px; color: var(--muted); }
.quote figcaption strong { color: var(--ink); font-size: 17px; }
.quote figcaption img { width: 56px; height: 56px; border-radius: 50%; }

/* newsletter */
.newsletter { background: var(--grey); }
.newsletter p { font-size: clamp(18px, 2vw, 22px); }
.btn {
  display: inline-block; margin-top: 1em; padding: 18px 64px;
  background: var(--blue); color: #fff; text-decoration: none;
  font-size: 22px; font-weight: 700; border-radius: 40px;
  transition: transform .15s;
}
.btn:hover { transform: translateY(-2px); }

/* cases */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 5vw, 72px) clamp(32px, 5vw, 80px); }
.case img { width: 56px; height: 56px; margin-bottom: 20px; }
.case p { color: #333; font-size: 17px; }
@media (max-width: 760px) { .case-grid { grid-template-columns: 1fr; } }

/* talks */
.talks { background: #fafafa; }
.talk {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 64px); align-items: start;
  padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid #ddd;
}
.talk p { font-size: 17px; color: #333; }
.talk figure { margin: 0; }
.talk figcaption { font-size: 14px; font-weight: 500; margin-top: 10px; }
.video, .talk iframe { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video::after {
  content: ''; position: absolute; inset: 50% auto auto 50%;
  width: 68px; height: 48px; transform: translate(-50%, -50%);
  background: #f00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath d='M27 14v20l18-10z' fill='%23fff'/%3E%3C/svg%3E") center/contain no-repeat;
  border-radius: 12px; opacity: .9; transition: opacity .15s;
}
.video:hover::after { opacity: 1; }
@media (max-width: 760px) { .talk { grid-template-columns: 1fr; } }

/* contact */
.contact { background: var(--ink); color: #fff; }
.contact p { font-size: 20px; color: #ddd; }
.contact ul { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-list li { font-size: clamp(20px, 2.4vw, 26px); font-weight: 400; margin: 8px 0; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; border-bottom: 2px solid var(--yellow); }
.social { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; }
.social a { font-weight: 500; text-decoration: none; }
.social a:hover, .contact-list a:hover { color: var(--yellow); }