:root {
  font-family: Arial,Helvetica,sans-serif;
  color: #252b27;
  background: #f8f6ef;
  --ink: #252b27;
  --muted: #61675e;
  --line: #d8dbcf;
  --accent:#4b5b41;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
}

button,a {
  -webkit-tap-highlight-color:transparent;
}

button {
  font: inherit;
  cursor:pointer;
}

a {
  color:inherit;
}

button:focus-visible,a:focus-visible {
  outline: 3px solid #7d986b;
  outline-offset:5px;
}

.screen {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 28px clamp(32px,6vw,100px) 22px;
  position: relative;
  overflow:hidden;
}

.warm {
  background:#f8f6ef;
}

.warm::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .045;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  flex: none;
  gap:20px;
}

.wordmark {
  font-family: Baskerville,'Palatino Linotype',Georgia,serif;
  font-size: 25px;
  letter-spacing:-.06em;
}

.nav-detail {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color:var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 6vw;
  align-items: center;
  flex: 1;
  min-height: 0;
  position: relative;
  padding:20px 0;
}

.warm h1 {
  font-family: Baskerville,'Palatino Linotype',Georgia,serif;
  font-weight: 400;
  letter-spacing: -.065em;
  font-size: clamp(78px,7.8vw,110px);
  line-height: .98;
  margin:0 0 25px;
}

.warm h1 em {
  display: block;
  font-size: .69em;
  font-weight: 400;
  color: #59674e;
  letter-spacing:-.045em;
}

.lead {
  font-size: 19px;
  line-height: 1.65;
  max-width: 40ch;
  letter-spacing: -.015em;
  margin:0 0 22px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 13px 20px;
  background: #38482f;
  color: white;
  border-radius: 2px;
  font-size: 12px;
  border: 1px solid #38482f;
  min-height:44px;
}

.contact-link:hover {
  background:#4b5d40;
}

.arrow {
  display: inline-block;
  margin-left: 11px;
  transition:transform .2s;
}

.contact-link:hover .arrow {
  transform:translate(2px,-2px);
}

.portrait {
  margin: 0;
  position: relative;
  min-width: 0;
  display: grid;
  place-items:center;
}

.portrait-stage {
  position: relative;
  width: min(100%,430px);
  aspect-ratio: 1098/1433;
  max-height:calc(100svh - 220px);
}

.portrait-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition:opacity .65s,transform .7s;
}

.strokes {
  position: absolute;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  fill: none;
  stroke: #8a947e;
  stroke-width: .8;
  opacity: .38;
  pointer-events:none;
}

.strokes ellipse {
  stroke-dasharray: 1350;
  stroke-dashoffset:0;
}

.strokes circle {
  fill: #8a947e;
  stroke:none;
}

.bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  position: relative;
  flex:none;
}

.quote {
  margin: 0;
  max-width: 580px;
  min-height:58px;
}

.quote p {
  font-family: Baskerville,Georgia,serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 7px;
  letter-spacing:-.01em;
}

.quote a {
  font-size: 12px;
  letter-spacing: .04em;
  text-decoration: none;
  color:var(--muted);
}

.quote a:hover {
  text-decoration:underline;
}

@keyframes reveal {
  from {
    clip-path: inset(0 0 100%);
    opacity:.3;
  }
  to {
    clip-path: inset(0);
    opacity:1;
  }
}

@keyframes arrive {
  from {
    opacity: 0;
    transform:translateY(12px);
  }
  to {
    opacity: 1;
    transform:translateY(0);
  }
}

@keyframes draw {
  from {
    stroke-dashoffset:1350;
  }
  to {
    stroke-dashoffset:0;
  }
}

.motion .sketch {
  animation:reveal 1.9s .1s ease-out both;
}

.motion .intro {
  animation:arrive .9s .15s both;
}

.motion .quote {
  animation:arrive .9s .35s both;
}

.motion .strokes ellipse {
  animation:draw 2.4s .2s ease both;
}

.portrait-stage:hover .sketch {
  transform:translateY(-3px);
}

@media(min-width:850px) and (max-height:760px) {
  .screen {
    padding-top: 20px;
    padding-bottom:17px;
  }
  .hero {
    padding:14px 0;
  }
  .warm h1 {
    font-size: 88px;
    margin-bottom:20px;
  }
  .lead {
    font-size: 17px;
    margin-bottom:17px;
  }
  .portrait-stage {
    max-height: calc(100svh - 220px);
    width:350px;
  }
  .bottom {
    padding-top:13px;
  }
  .quote p {
    font-size:17px;
  }
  .quote {
    min-height:53px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation: none!important;
    transition:none!important;
  }
  .portrait-stage:hover .sketch,.arrow {
    transform:none!important;
  }
}

.replay {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  padding: 8px 0;
  min-height: 40px;
  justify-self:end;
}

.replay:hover {
  color:var(--ink);
}

.nav-right {
  display: flex;
  align-items: center;
  gap:28px;
}

.language {
  display: flex;
  gap:12px;
}

.language[hidden] {
  display:none;
}

.language button {
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 12px;
  padding: 10px 2px;
  min-height:44px;
}

.language button[aria-pressed="true"] {
  border-bottom-color: var(--accent);
  color:var(--ink);
}

.profession {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.stat-note {
  margin: -8px 0 24px;
  color: var(--muted);
  font-family: Baskerville, Georgia, serif;
  font-size: 15px;
  letter-spacing: .025em;
}

@media(max-width:849px) {
  .screen {
    padding: 25px 24px;
    min-height:100svh;
  }
  .wordmark {
    font-size:23px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding:28px 0;
  }
  .portrait {
    grid-row: 1;
    width: 100%;
    min-height: 230px;
    align-self:center;
  }
  .portrait-stage {
    width: 195px;
    max-height:none;
  }
  .warm h1 {
    font-size: 70px;
    margin-bottom:20px;
  }
  .bottom {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top:20px;
  }
  .quote p {
    font-size:17px;
  }
  .portrait-stage:hover .sketch {
    transform:none;
  }
  .replay {
    justify-self:start;
  }
  .nav-right {
    gap:14px;
  }
  .nav-detail {
    display:none;
  }
  .warm h1 em {
    display: block;
    margin-left: 0;
    font-size:.69em;
  }
}
