:root {
  --cream: #f7f7f5;
  --paper: #ffffff;
  --ink: #242424;
  --muted: #77736f;
  --green: #5f5b57;
  --green-deep: #252525;
  --line: #e4e2de;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--cream);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  display: grid;
  min-height: 100svh;
  padding: 34px 20px;
  place-items: center;
}

.business-card {
  display: grid;
  width: min(960px, 100%);
  min-height: 650px;
  grid-template-columns: 0.94fr 1.06fr;
  overflow: hidden;
  border: 1px solid rgba(221, 214, 202, 0.88);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(25, 25, 25, 0.1);
}

.photo-panel {
  position: relative;
  display: flex;
  min-height: 650px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  color: var(--white);
  background-image: url("assets/karacsonyi-iskolafoto.jpg?v=2");
  background-position: 69% center;
  background-size: cover;
}

.photo-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.28), transparent 34%, rgba(20, 20, 20, 0.56) 100%),
    linear-gradient(90deg, rgba(20, 20, 20, 0.08), transparent 65%);
}

.brand,
.photo-caption {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
}

.brand-mark span {
  width: 11px;
  height: 11px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.photo-caption {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.2;
}

.content-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6vw, 66px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.role {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.intro {
  margin: 26px 0;
  color: #55514e;
  font-size: 16px;
  line-height: 1.65;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.contact-button.primary {
  color: var(--white);
  background: var(--green);
}

.contact-button.secondary {
  border-color: var(--green);
  color: var(--green);
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 24px 0;
}

.contact-lines a {
  width: fit-content;
  color: var(--ink);
  text-decoration-color: rgba(37, 37, 37, 0.25);
  text-underline-offset: 4px;
  font-size: 14px;
  font-weight: 650;
}

.presentation-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: #f8f8f6;
  text-decoration: none;
}

.presentation-link small,
.presentation-link strong {
  display: block;
}

.presentation-link small {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
}

.presentation-link strong {
  font-size: 14px;
}

.arrow {
  color: var(--green);
  font-size: 24px;
}

.utility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}

.utility-actions a,
.utility-actions button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  color: var(--green);
  background: transparent;
  text-decoration: none;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.share-status {
  min-height: 17px;
  margin: 5px 0 0;
  color: var(--green);
  font-size: 12px;
}

@media (max-width: 720px) {
  .page-shell {
    padding: 0;
    place-items: stretch;
  }

  .business-card {
    min-height: 100svh;
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 0;
  }

  .photo-panel {
    min-height: 0;
    aspect-ratio: 2 / 3;
    padding: max(22px, env(safe-area-inset-top)) 22px 22px;
    background-position: center center;
  }

  .photo-caption {
    font-size: 22px;
  }

  .content-panel {
    justify-content: flex-start;
    padding: 34px 24px max(34px, env(safe-area-inset-bottom));
  }

  h1 {
    font-size: 50px;
  }
}

@media (max-width: 380px) {
  .contact-actions {
    grid-template-columns: 1fr;
  }
}
