:root {
  color-scheme: light;
  --navy: #01193f;
  --orange: #ffa803;
  --yellow: #fde216;
  --muted: #586984;
  --cream: #fbf6ec;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: Archivo, Arial, sans-serif;
}

.page {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-width: 1600px;
  margin: auto;
  padding: 0 clamp(24px, 5.5vw, 88px);
}

.header { padding-top: clamp(32px, 5vh, 56px); }
.logo { display: block; width: clamp(220px, 22vw, 320px); height: auto; }

.main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(32px, 4vw, 70px);
  align-items: center;
  padding: clamp(42px, 6vh, 76px) 0;
}

.content { max-width: 680px; }

h1 {
  margin: 0 0 28px;
  font-family: Poppins, Arial, sans-serif;
  font-size: clamp(43px, 5.2vw, 76px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.12;
}
.dot { color: var(--orange); }
.intro {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
}
.return { margin-top: 20px; }

.contact {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  margin-top: 36px;
  padding: 15px 22px 15px 15px;
  border: 1px solid #eadfc9;
  border-radius: 16px;
  background: var(--cream);
  color: var(--navy);
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.contact:hover { border-color: var(--orange); transform: translateY(-2px); }
.contact:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.contact-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #ffebc2;
  color: #b66e00;
}
.contact-icon svg { width: 26px; }
.contact-label { display: block; margin-bottom: 5px; color: var(--muted); }
.contact strong { font-size: 18px; overflow-wrap: anywhere; }
.arrow { margin-left: 12px; color: #a36800; font-size: 21px; }

.visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  height: clamp(470px, 62vh, 640px);
  overflow: hidden;
  border-radius: 24px;
  background: var(--cream);
}
.hex, .portrait {
  position: absolute;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.portrait {
  z-index: 1;
  width: min(70%, 405px);
  aspect-ratio: 437 / 516;
}
.portrait img { display: block; width: 100%; height: 100%; }
.hex-pale {
  top: -10%;
  right: -8%;
  width: 47%;
  aspect-ratio: 1 / 1.08;
  background: #ffedc6;
}
.hex-orange {
  z-index: 2;
  top: 15%;
  left: -6%;
  width: 28%;
  aspect-ratio: 1 / 1.08;
  background: rgba(255, 168, 3, .86);
}
.hex-outline {
  right: -8%;
  bottom: -8%;
  width: 42%;
  aspect-ratio: 1 / 1.08;
  background: var(--orange);
}
.hex-outline::after {
  position: absolute;
  inset: 1px;
  content: "";
  background: var(--cream);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 28px;
  border-top: 1px solid #e2e6ec;
  color: #718098;
  font-size: 14px;
}

@media (max-width: 800px) {
  .main { grid-template-columns: 1fr; gap: 42px; padding: 56px 0 42px; }
  h1 { font-size: clamp(39px, 8vw, 65px); }
  .visual { height: auto; min-height: 350px; aspect-ratio: 1.15; }
  .portrait { width: min(61%, 360px); }
  .footer { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  h1 { font-size: clamp(31px, 9vw, 37px); }
  .contact { gap: 11px; padding: 12px; }
  .contact-icon { width: 44px; height: 44px; }
  .contact-label { font-size: 13px; }
  .contact strong { font-size: 15px; }
  .arrow { margin-left: 0; }
  .visual { min-height: 0; height: 300px; aspect-ratio: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .contact { transition: none; }
}
