@font-face {
  font-family: "Graduate";
  src: url("https://fonts.gstatic.com/s/graduate/v19/C8cg4cs3o2n15t_2YxgR.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --navy: #031a43;
  --navy-deep: #010d25;
  --blue: #073fbb;
  --blue-border: #2a76ff;
  --red: #e5002b;
  --red-deep: #bd001f;
  --white: #fff;
  --silver: #c8d1e1;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--navy-deep);
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 10%, #0a3979 0, var(--navy) 35%, var(--navy-deep) 100%);
  font-family: "Graduate", Georgia, serif;
}

body::before,
body::after {
  position: fixed;
  z-index: 0;
  top: 0;
  bottom: 0;
  width: clamp(34px, 9vw, 78px);
  content: "";
  background: repeating-linear-gradient(135deg,
    rgba(229, 0, 43, 0.42) 0 44px,
    rgba(255, 255, 255, 0.18) 44px 88px,
    rgba(7, 63, 187, 0.34) 88px 132px,
    transparent 132px 176px);
  opacity: 0.55;
  pointer-events: none;
}

body::before {
  left: 0;
}

body::after {
  right: 0;
  transform: scaleX(-1);
}

.barber-pole {
  position: absolute;
  z-index: 0;
  top: clamp(24px, 8vw, 36px);
  width: clamp(34px, 8vw, 44px);
  height: auto;
  opacity: 0.2;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45));
  pointer-events: none;
  animation: pole-float 5.2s ease-in-out infinite;
}

.barber-pole-left {
  left: 30%;
}

.barber-pole-right {
  right: 30%;
  animation-delay: -2.6s;
}

@keyframes pole-float {
  0%,
  100% {
    translate: 0 -6px;
  }

  50% {
    translate: 0 9px;
  }
}

.profile-shell {
  position: relative;
  z-index: 1;
  width: min(430px, calc(100% - 28px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 0 24px;
}

.brand {
  text-align: center;
}

.brand img {
  display: block;
  width: min(238px, 68vw);
  height: auto;
  margin: 0 auto 2px;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.48));
}

.brand img,
h1,
.brand-divider,
.location,
.link-row,
footer {
  animation: enter 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand img { animation-delay: 40ms; }
h1 { animation-delay: 110ms; }
.brand-divider { animation-delay: 160ms; }
.location { animation-delay: 200ms; }
.link-row:nth-child(1) { animation-delay: 260ms; }
.link-row:nth-child(2) { animation-delay: 320ms; }
.link-row:nth-child(3) { animation-delay: 380ms; }
.link-row:nth-child(4) { animation-delay: 440ms; }
.link-row:nth-child(5) { animation-delay: 500ms; }
footer { animation-delay: 570ms; }

@keyframes enter {
  from {
    opacity: 0;
    translate: 0 14px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

h1 {
  margin: 0;
  font-family: "Graduate", Georgia, serif;
  font-size: clamp(1.15rem, 5.7vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.brand-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: min(190px, 62%);
  margin: 8px auto 0;
}

.brand-divider span {
  height: 1px;
  flex: 1;
  background: var(--white);
  opacity: 0.78;
}

.brand-divider strong {
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1;
}

.location {
  margin: 5px 0 0;
  color: var(--silver);
  font-size: 0.92rem;
  letter-spacing: 0.055em;
}

.link-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.link-row {
  min-height: 64px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 2px solid transparent;
  border-radius: 12px;
  color: var(--white);
  box-shadow: 0 10px 22px rgba(0, 5, 20, 0.28);
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.link-row-red {
  border-color: #ff395b;
  background: linear-gradient(110deg, var(--red-deep), var(--red));
}

.link-row-blue {
  border-color: var(--blue-border);
  background: linear-gradient(110deg, #062d85, var(--blue));
}

.link-row:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.link-row:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.link-row strong {
  font-family: "Graduate", Georgia, serif;
  font-size: clamp(0.82rem, 3.8vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-transform: uppercase;
}

.link-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.link-icon svg,
footer svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-icon .fill {
  fill: currentColor;
  stroke: none;
}

.google-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
}

.link-icon .google-icon {
  width: 29px;
  height: 29px;
  stroke: none;
}

.chevron {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(200, 209, 225, 0.62);
}

footer address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--silver);
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.025em;
  text-align: center;
}

footer svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

@media (min-width: 700px) {
  .profile-shell {
    padding-block: 28px 32px;
  }
}

@media (max-height: 760px) {
  .profile-shell {
    padding-top: 12px;
  }

  .brand img {
    width: min(198px, 61vw);
  }

  .link-list {
    margin-top: 17px;
  }

  .link-row {
    min-height: 58px;
  }

  footer {
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .barber-pole {
    animation: none;
  }

  .brand img,
  h1,
  .brand-divider,
  .location,
  .link-row,
  footer {
    animation: none;
  }

  .link-row {
    transition: none;
  }
}
