:root {
  --cream: #fdf8f1;
  --panel: #fefdfb;
  --mustard: #d79429;
  --charcoal: #1a1a1a;
  --muted: rgba(26, 26, 26, 0.64);
  --quiet: rgba(26, 26, 26, 0.46);
  --line-soft: rgba(88, 58, 28, 0.075);
  --page-width: 1380px;
}

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

html {
  min-width: 320px;
  background: var(--cream);
  color: var(--charcoal);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(88, 58, 28, 0.052) 1px, transparent 0) 0 0 / 28px 28px,
    var(--cream);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2 {
  margin: 0;
}

.site-header,
.hero,
.site-footer {
  width: min(calc(100% - 48px), var(--page-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
}

.brand > img {
  width: 17px;
  height: 58px;
  object-fit: contain;
}

.brand > span {
  display: grid;
  gap: 4px;
}

.brand strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand small {
  color: var(--quiet);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.header-contact {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: color 180ms ease;
}

.header-contact-arrow {
  color: var(--mustard);
  transition: transform 180ms ease;
}

.header-contact:hover,
.header-contact:focus-visible {
  color: var(--charcoal);
}

.header-contact:hover .header-contact-arrow,
.header-contact:focus-visible .header-contact-arrow {
  transform: translateX(4px);
}

main {
  display: grid;
  min-height: calc(100vh - 191px);
  place-items: center;
}

.hero {
  display: grid;
  place-items: center;
  padding-block: clamp(64px, 8vw, 112px);
  text-align: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
  width: min(100%, 980px);
}

h1,
h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
}

h1 {
  max-width: 980px;
  font-size: clamp(66px, 8.2vw, 118px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 690px;
  margin-top: 32px;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.72;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 26px;
  align-items: center;
  margin-top: 34px;
}

.primary-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding-inline: 24px;
  border: 1px solid var(--mustard);
  background: var(--mustard);
  color: var(--cream);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  border-color: var(--charcoal);
  background: var(--charcoal);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
}

.text-link::after {
  color: var(--mustard);
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(4px);
}

.profile-medallion {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  width: min(100%, 720px);
  margin-top: clamp(58px, 8vw, 86px);
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
  text-align: left;
}

.profile-photo {
  width: 82px;
  height: 82px;
  border: 1px solid rgba(215, 148, 41, 0.22);
  border-radius: 50%;
  background: var(--panel);
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(0.92) contrast(0.98);
}

.profile-label {
  margin-bottom: 4px;
  color: var(--mustard);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h2 {
  font-size: 30px;
  line-height: 1.12;
}

.profile-bio {
  max-width: 590px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.profile-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 12px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
}

.profile-contacts .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 180ms ease;
}

.profile-contacts .contact-link:hover,
.profile-contacts .contact-link:focus-visible {
  color: var(--mustard);
}

.contact-icon {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: currentColor;
}

svg.contact-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.contact-icon-mail {
  position: relative;
  width: 17px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 1px;
}

.contact-icon-mail::before,
.contact-icon-mail::after {
  position: absolute;
  top: 2px;
  width: 9px;
  height: 1px;
  background: currentColor;
  content: "";
}

.contact-icon-mail::before {
  left: 0;
  transform: rotate(32deg);
  transform-origin: left center;
}

.contact-icon-mail::after {
  right: 0;
  transform: rotate(-32deg);
  transform-origin: right center;
}

.site-footer {
  display: flex;
  min-height: 73px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--quiet);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(88, 58, 28, 0.042) 1px, transparent 0) 0 0 / 28px 28px,
    var(--cream);
  animation: loader-leave 500ms cubic-bezier(0.76, 0, 0.24, 1) 1150ms both;
}

.loader-mark {
  width: 36px;
  height: 192px;
  animation: mark-reveal 880ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both;
}

.loader-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.loader-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 0;
  background: rgba(88, 58, 28, 0.12);
  transform: translate(-50%, -50%);
  animation: loader-line 720ms cubic-bezier(0.65, 0, 0.35, 1) 80ms both;
}

.has-js .site-header,
.has-js main,
.has-js .site-footer {
  opacity: 0;
  transform: translateY(22px);
  animation: page-enter 650ms cubic-bezier(0.16, 1, 0.3, 1) 1260ms both;
}

.has-js main {
  animation-delay: 1320ms;
}

.has-js .site-footer {
  animation-delay: 1380ms;
}

:focus-visible {
  outline: 2px solid var(--mustard);
  outline-offset: 4px;
}

@keyframes mark-reveal {
  0% {
    opacity: 0;
    filter: blur(16px);
    transform: translateY(22px) scale(0.96);
  }

  55% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes loader-line {
  0% {
    height: 0;
    opacity: 0;
  }

  45% {
    height: 330px;
    opacity: 1;
  }

  100% {
    height: 0;
    opacity: 0;
    transform: translate(-50%, 42%);
  }
}

@keyframes loader-leave {
  to {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-100%);
  }
}

@keyframes page-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .site-header {
    min-height: 96px;
  }

  .brand small {
    max-width: 180px;
  }

  .header-contact {
    font-size: 0;
  }

  .header-contact > .contact-icon-mail {
    font-size: 20px;
  }

  .header-contact-arrow {
    font-size: 20px;
  }

  main {
    min-height: auto;
  }

  .hero {
    padding-block: 58px 74px;
  }

  h1 {
    font-size: clamp(52px, 16vw, 72px);
    line-height: 1;
  }

  .lead {
    margin-top: 26px;
    font-size: 17px;
    line-height: 1.7;
  }

  .contact-actions {
    margin-top: 30px;
  }

  .profile-medallion {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 18px;
    margin-top: 56px;
    padding-top: 28px;
  }

  .profile-photo {
    width: 68px;
    height: 68px;
  }

  h2 {
    font-size: 26px;
  }

  .profile-bio {
    grid-column: 1 / -1;
  }

  .profile-contacts .contact-link {
    flex-basis: 100%;
  }

  .site-footer {
    min-height: 100px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .loader-mark {
    width: 30px;
    height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .loader {
    display: none;
  }
}
