/* ===== Local Arial fonts ===== */
@font-face {
  font-family: "Arial";
  src: url("font/arial/ARIAL.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Arial";
  src: url("font/arial/ARIALI.TTF") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Arial";
  src: url("font/arial/ARIALBD.TTF") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Arial";
  src: url("font/arial/ARIALBI.TTF") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ===== Tokens (from Figma node 1:196) ===== */
:root {
  --bg: #041c1c;
  --pill: #ffffff;
  --pill-text: #1c3131;
  --text: #ffffff;
  --gray: #9f9f9f;
  --card-bg: rgba(255, 255, 255, 0.10);
  --card-text: rgba(255, 255, 255, 0.60);
  --line: rgba(255, 255, 255, 0.12);
  --dot-light: rgba(255, 255, 255, 0.05);
  --dot-dark: rgba(0, 0, 0, 0.10);
  --foot-muted: rgba(255, 255, 255, 0.60);
  --foot-faint: rgba(255, 255, 255, 0.30);
  --foot-bullet: rgba(255, 255, 255, 0.20);
  --blue: #2D9CFF;
  --cream: #EAC7A1;
  --col: 375px;
  --font: Arial, Helvetica, "Liberation Sans", sans-serif;
  --font-foot: "Manrope", Arial, Helvetica, sans-serif;
  --font-bad-script: "Bad Script", cursive;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0;   scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  scroll-behavior: smooth;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0px 60px;
}

.content {
  width: 100%;
  max-width: var(--col);
  padding: 0 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* ===== Photo placeholder ===== */
.photo-placeholder {
  position: relative;
  background: radial-gradient(120% 80% at 70% 0%, #cdb49a 0%, #b59b85 38%, #7e8b80 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-placeholder__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* ===== Avatar (scalloped blob) ===== */
.avatar {
  width: 394px;
  max-width: 82%;
  margin-bottom: 40px;
}
.avatar__img { display: block; width: 100%; height: auto; }

/* ===== Hero (mobile banner) ===== */
.hero {
  display: none;
  width: 100%;
  height: 650px;
  margin: -64px 0 -122px;
  background-image: url("img/girl.webp");
  background-size: cover;
  background-position: center 18%;
  position: relative;
}

.hero::after{
  content: '';
  position: absolute;
  top: 2px;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 73.06%, #041C1C 100.08%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 37.54%, #041C1C 122.62%);
}

/* ===== Profile ===== */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.profile__name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 700;
  font-size: 41px;
  letter-spacing: -0.06em;
  line-height: 1;
}
.verified { width: 25px; height: 31px; flex: none; }

.profile__bio {
  margin: 30px 0 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 320px;
}
.mention { color: var(--gray); text-decoration: none; transition: color 0.2s ease; }
a.mention:hover { color: var(--text); }

/* ===== Links ===== */
.links {
  width: 100%;
  margin: 40px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.link-group { display: flex; flex-direction: column; }

/* animating wrapper: collapses to 0 rows when closed, 1fr when open */
.card-wrap {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  transition: grid-template-rows 0.35s ease, margin-top 0.35s ease;
}
.card-wrap.is-open {
  grid-template-rows: 1fr;
  margin-top: 10px;
}
.card-wrap > .card {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card-wrap.is-open > .card { opacity: 1; }

.link {
  width: 100%;
  height: 67px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--pill);
  color: var(--pill-text);
  border: none;
  border-radius: 100px;
  padding: 4px 30px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  /* Safari: prevent the button from being repainted (blinking) when the
     sibling accordion animates, and remove tap/native-button flashes */
  position: relative;
  z-index: 1;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}
.link--expand { padding-right: 4px; }

.link__arrow { display: flex; align-items: center; color: var(--pill-text); }
.link__arrow svg { width: 16px; height: 16px; }

.link__dots {
  width: 57px;
  height: 57px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dot-light);
  transition: background-color 0.3s ease;
}
.link__dots--dark { background: var(--dot-dark); }


/* ===== Info card ===== */
.card {
  background: var(--card-bg);
  border-radius: 20px;
 
  width: 100%;
}

.card_inner{
 padding: 40px 40px 57px;
}
/* @keyframes cardIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
} */
.card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.card__text {
  margin: 17px 0 0;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--card-text);
}
.card__row {
  margin: 43px 0 0;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.card__cta svg { width: 16px; height: 16px; }

.arrow_svg{
  margin-right: 12px;
}

/* ===== Work with me ===== */
.work { width: 100%; margin: 60px 0 0; }
.work__title {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}
.work__text {
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.work__link {
  height: 75px;
  padding: 14.5px 15px;
  display: flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  border: 1px solid #FFFFFF4D;
  border-radius: 100px;
}


.work_info{
  display: flex;
  width: 95%;
  gap: 18px;
  align-items: center;
  padding: 30px 0;
}

.work_info p{
  font-family: var(--font-bad-script);
  color: #42A5F5;
  font-size: 21px;
  font-weight: 700;
  line-height: 110%;
  margin: 0;
}

.mediakit_svg{
  padding: 16.71px 16px;
  width: 46px;
  height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #42A5F5;
  border-radius: 100%;
}

/* ===== Socials ===== */
.socials {
  width: 100%;
  margin: 60px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.social {
  width: 67px;
  height: 67px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}



/* ===== Footer ===== */
.footer {
  width: 100%;
  margin: 60px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer__divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin-bottom: 60px;
}
.lang {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-foot);
}
.lang__globe { width: 13px; height: 13px; color: var(--foot-muted); }
.lang__btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--foot-muted);
  cursor: pointer;
  transition: color 0.15s ease;
}
.lang__btn:hover { color: var(--text); }
.lang__btn.active { color: var(--text); }
.lang__dot { color: var(--foot-bullet); font-size: 13px; }

.footer__copy {
  margin: 40px 0 0;
  text-align: center;
  font-family: var(--font-foot);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.4;
  color: var(--foot-faint);
}

/* ===== Arrow hover animation ===== */
.link--arrow > svg,
.card__cta > svg,
.work__link > svg {
  transition: transform 0.3s ease;
  will-change: transform;
}
.link--arrow:hover > svg,
.card__cta:hover > svg{
  transform: translateX(7px);
}
@media (min-width:1024px){
  .link--expand:hover .link__dots { background: var(--dot-dark); }
  .social:hover { background: #FFFFFF1A; border-color: #ffffff00; }
}

@media (prefers-reduced-motion: reduce) {
  .link--arrow > svg,
  .card__cta > svg,
  .work__link > svg {
    transition: none;
  }
}

/* ===== Responsive: mobile ===== */
@media (max-width: 768px) {
  .page { padding: 64px 0px 60px; }
  .avatar { display: none; }
  .hero { display: flex; }
  .profile__name { font-size: 34px; }
  .work__title { font-size: 28px; }
  .socials { 
    gap: 6px; 
    width: fit-content;
    margin: 0 -46px;
    padding: 0 46px;
    overflow: auto;
    justify-content: unset;
  }
  .socials::-webkit-scrollbar{
    display: none;
  }
  .container{
    padding: 0 46px;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 90px;
  }
  .social { width: 67px; height: 67px; }
  .footer{
    max-width: 375px;
    padding: 0 46px;
  }
  
}
