/* ===== 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;  background-color: var(--bg);}

/* ===== Site Header (single element, fixed on every page) ===== */
.mk-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 401;
  background: transparent;
}
.mk-header .mk-header__logo { color: #ffffff; }

/* ===== Progressive blur (bejamas-style, 5 stacked layers) ===== */
/* Height grows by the iOS top inset so the blur also covers the status-bar /
   notch strip — otherwise the page shows through unblurred above the header. */
.mk-progressive-blur {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(100px + env(safe-area-inset-top, 0px));
  pointer-events: none;
  z-index: 400;
  visibility: hidden;
}
.mk-progressive-blur.is-visible {
  visibility: visible;
}
.mk-progressive-blur > div {
  position: absolute;
  inset: 0;
}

/* ===== Mobile: header is NOT sticky — it sits at the top and scrolls away ===== */
@media (max-width: 768px) {
  .mk-header {
    position: absolute; /* stays at the top of the page, scrolls with content */
  }
  .mk-progressive-blur {
    display: none; /* no sticky header on mobile → no scroll blur needed */
  }
}

.mk-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 42.5px 80px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.mk-header__logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #ffffff;
  text-decoration: none;
}

/* Desktop nav links */
.mk-header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.mk-header__nav-link {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(4, 28, 28, 0.55);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.mk-header__nav-link:hover {
  color: #041C1C;
  background: rgba(4, 28, 28, 0.06);
}

.mk-header__nav-cta {
  margin-left: 8px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
  background: #42A5F5;
  text-decoration: none;
  border-radius: 100px;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.mk-header__nav-cta:hover { opacity: 0.85; }

.mk-header__logo {
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #ffffff;
  text-decoration: none;
}

/* Burger */
.mk-header__burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 54px;
  height: 54px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mk-burger__icon,
.mk-burger__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: #ffffff;
}

.mk-burger__close { display: none; }

.mk-header__burger[aria-expanded="true"] .mk-burger__icon { display: none; }
.mk-header__burger[aria-expanded="true"] .mk-burger__close { display: block; }


/* ===== Nav Overlay ===== */
.mk-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 350;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 0 40px 48px;
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
}

.mk-nav-overlay.is-open {
  display: flex;
}

.mk-nav-overlay__top .mk-header__logo { color: #ffffff; }

.mk-nav-overlay__top {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bg);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-shrink: 0;
  border-bottom: 1px solid var(--line);
  margin: 0 -40px;
  padding: 18.5px 40px 27px;
}

.mk-nav-overlay__close {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.mk-nav-overlay__close:hover { opacity: 1; }

.mk-nav-overlay__list {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mk-nav-overlay__link {
  display: inline-block;
  padding: 14px 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
@media (hover: hover) {
  .mk-nav-overlay__link:hover { color: #42A5F5; }
}

.mk-nav-overlay__cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  height: 75px;
  padding: 14.5px 15px;
  margin-top: 40px;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  border: 1px solid #FFFFFF4D;
  border-radius: 100px;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.mk-nav-overlay__cta:hover { border-color: #ffffff99; }

.mk-nav-overlay__cta-dot {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #51D71B;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mk-nav-overlay__socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  flex-shrink: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mk-nav-overlay__socials::-webkit-scrollbar { display: none; }

.mk-nav-overlay__divider {
  width: calc(100% + 80px);
  margin-left: -40px;
  height: 0;
  border: none;
  border-top: 1px solid #FFFFFF1A;
  margin-top: 24px;
  flex-shrink: 0;
}

.mk-nav-overlay__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  flex-shrink: 0;
}

/* When the nav is open the header floats above the overlay: only the logo and
   the burger stay clickable, the rest of the header bar lets clicks through. */
.mk-header:has(.mk-header__burger[aria-expanded="true"]) {
  pointer-events: none;
}
.mk-header:has(.mk-header__burger[aria-expanded="true"]) .mk-header__burger,
.mk-header:has(.mk-header__burger[aria-expanded="true"]) .mk-header__logo {
  pointer-events: auto;
}

/* Desktop: logo and close always white when nav is open */
.mk-header:has(.mk-header__burger[aria-expanded="true"]) .mk-header__logo { color: #ffffff !important; }
.mk-header:has(.mk-header__burger[aria-expanded="true"]) .mk-burger__close { color: #ffffff !important; }


/* Always show burger, always hide inline nav */
.mk-header__nav { display: none; }
.mk-header__burger { display: flex; }

/* Desktop: overlay starts below header, content aligned to logo */
@media (min-width: 769px) {
  .mk-header {
    padding-top: calc(6px + env(safe-area-inset-top, 0px));
  }
  .mk-header__inner {
    max-width: 1280px;
    height: 54px;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }
  .mk-nav-overlay {
    top: 0;
    padding: env(safe-area-inset-top, 0px) 0 0;
    align-items: center;
    overflow-y: auto;
    scrollbar-width: none;
  }
  .mk-nav-overlay::-webkit-scrollbar { display: none; }
  .mk-nav-overlay__top { display: none; }
  .mk-nav-overlay__list {
    width: 100%;
    max-width: 1280px;
    margin-top: 150px;
    padding: 0 80px;
    text-align: left;
  }
  .mk-nav-overlay__cta,
  .mk-nav-overlay__socials,
  .mk-nav-overlay__divider,
  .mk-nav-overlay__footer { display: none; }
  .mk-nav-overlay__link { text-align: left; font-size: 20px; line-height: 0.5; }
}

@media (min-width: 1280px) {
  .mk-header__inner { padding-left: 0; padding-right: 0; }
  .mk-nav-overlay__list { padding-left: 0; padding-right: 0; }
}

@media (max-width: 768px) {
  .mk-header {
    padding-top: calc(16px + env(safe-area-inset-top, 0px));
    padding-bottom: 10px;
  }
  .mk-header__inner {
    padding: 0 calc(30px + env(safe-area-inset-right, 0px)) 0 calc(30px + env(safe-area-inset-left, 0px));
    height: 54px;
    align-items: center;
  }
  .mk-nav-overlay {
    padding: calc(130px + env(safe-area-inset-top, 0px))
             calc(30px + env(safe-area-inset-right, 0px))
             calc(48px + env(safe-area-inset-bottom, 0px))
             calc(30px + env(safe-area-inset-left, 0px));
  }
  .mk-nav-overlay__divider { width: calc(100% + 60px); margin-left: -30px; }
  .mk-nav-overlay__socials { width: calc(100% + 60px); margin-left: -30px; padding-left: 30px; padding-right: 30px; justify-content: flex-start; }
  .mk-nav-overlay__top { display: none; }
  .mk-nav-overlay__list { margin-top: 0; }
  .mk-nav-overlay__link { font-size: 22px; line-height: 0.84; }
}

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

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 65px 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;
  aspect-ratio: 776 / 807;
}
.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: 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;
}
/* Only apply the arrow-shift on devices that truly hover (desktop).
   On touch screens :hover sticks after a tap, so the arrow would stay shifted. */
@media (hover: hover) and (pointer: fine) {
  .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: 0px 0 40px; }
  .avatar { display: none; }
  .hero { display: flex; margin: 0; }
  .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; }
}

/* ===== iOS safe-area top fill =====
   With viewport-fit=cover the page paints under the status bar / notch. Without
   a solid fill, that strip shows the page (or the semi-transparent blur) behind
   the phone's camera / battery indicators and looks see-through above the header.
   A real element (not a ::before pseudo, which iOS Safari stacks unreliably)
   with a very high z-index guarantees it sits on top of the blur and header. */
.mk-safe-fill {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* Cover the inset; the two extra px hide any sub-pixel seam under the blur. */
  height: calc(env(safe-area-inset-top, 0px) + 2px);
  background: #041c1c;
  z-index: 9999; /* above header (401) and progressive blur (400) */
  pointer-events: none;
}
