/* Aleksandra Konieczna — ultramodern artist site */
:root {
  --ink: #1c1412;
  --ink-soft: #3d322e;
  --muted: #6b5e58;
  --paper: #f2efe9;
  --paper-deep: #e6e1d8;
  --line: rgba(28, 20, 18, 0.12);
  --accent: #7a2433;
  --accent-hover: #5e1a26;
  --brass: #b08a5a;
  --hero-veil: linear-gradient(
    105deg,
    rgba(18, 12, 10, 0.82) 0%,
    rgba(18, 12, 10, 0.55) 42%,
    rgba(18, 12, 10, 0.2) 70%,
    rgba(18, 12, 10, 0.35) 100%
  );
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --page-pad: 1.5rem;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(176, 138, 90, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(122, 36, 51, 0.06), transparent 50%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Reliable gutters: padding on container, not width math */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(242, 239, 233, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled .logo-text,
.site-header.is-scrolled .nav a {
  color: var(--ink);
}

.site-header.is-scrolled .logo-mark {
  background: var(--ink);
  color: var(--paper);
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--ink);
}

.header-inner {
  width: 100%;
  max-width: var(--max);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #f7f3ee;
  min-width: 0;
}

.logo:hover {
  color: #f7f3ee;
}

.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  background: rgba(247, 243, 238, 0.95);
  color: var(--ink);
  border-radius: 2px;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(247, 243, 238, 0.88);
  transition: color 0.2s;
}

.nav a:hover {
  color: #fff;
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(247, 243, 238, 0.35);
  border-radius: 999px;
}

.site-header.is-scrolled .nav-cta {
  border-color: var(--line);
  background: var(--ink);
  color: var(--paper) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  margin: 6px auto;
  background: #f7f3ee;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Hero — media clipped, text never clipped */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #f7f3ee;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 18%;
  transform: scale(1.04);
  animation: heroZoom 12s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: var(--hero-veil);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: calc(var(--header-h) + 2.5rem) var(--page-pad) 4.5rem;
}

.hero-role {
  margin: 0 0 0.85rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
}

.hero-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 5.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-name span {
  display: block;
}

.hero-lead {
  margin: 1.15rem 0 0;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(247, 243, 238, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 2.4rem;
  border: 1px solid rgba(247, 243, 238, 0.4);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 0.4rem;
  z-index: 2;
}

.hero-scroll span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #f7f3ee;
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff !important;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

.btn-ghost {
  background: transparent;
  color: #f7f3ee !important;
  border-color: rgba(247, 243, 238, 0.35);
}

.btn-ghost:hover {
  background: rgba(247, 243, 238, 0.08);
  color: #fff !important;
}

.btn-block {
  width: 100%;
}

/* Sections */
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  overflow: visible;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(1.65rem, 4.5vw, 2.9rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  overflow: visible;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}

.section-lead {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

/* About */
.about {
  background:
    linear-gradient(180deg, transparent, rgba(230, 225, 216, 0.55) 40%, transparent),
    var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
}

.about-visual,
.about-copy {
  min-width: 0;
}

.about-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
}

.about-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 1.1s var(--ease);
}

.about-figure:hover img {
  transform: scale(1.03);
}

.photo-credit {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.prose p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
}

.prose p:last-child {
  margin-bottom: 0;
}

.about-copy h2 {
  margin-bottom: 1.25rem;
}

/* Awards */
.awards {
  background: var(--ink);
  color: #f7f3ee;
}

.awards h2 {
  color: #f7f3ee;
}

.awards .section-lead {
  color: rgba(247, 243, 238, 0.65);
}

.awards .eyebrow {
  color: var(--brass);
}

.award-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(247, 243, 238, 0.12);
}

.award-item {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 1.15rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(247, 243, 238, 0.12);
}

.award-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brass);
}

.award-body {
  min-width: 0;
}

.award-body h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.award-body p {
  margin: 0;
  color: rgba(247, 243, 238, 0.68);
}

/* Video */
.video .section-lead {
  max-width: 36rem;
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  background: #120c0a;
}

.video-facade,
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-facade {
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: #f7f3ee;
  background: #120c0a;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: opacity 0.45s var(--ease), transform 1.1s var(--ease);
}

.video-facade:hover img,
.video-facade:focus-visible img {
  opacity: 1;
  transform: scale(1.03);
}

.video-play {
  position: absolute;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: rgba(122, 36, 51, 0.92);
  box-shadow: 0 10px 30px rgba(18, 12, 10, 0.35);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.video-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.55rem 0 0.55rem 0.95rem;
  border-color: transparent transparent transparent #f7f3ee;
}

.video-facade:hover .video-play,
.video-facade:focus-visible .video-play {
  transform: scale(1.06);
  background: var(--accent-hover);
}

.video-facade:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.video-note {
  margin: 1rem auto 0;
  max-width: 920px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.video-note a {
  color: var(--accent);
  text-decoration: none;
}

.video-note a:hover {
  text-decoration: underline;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 0.85rem;
}

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper-deep);
  min-width: 0;
  aspect-ratio: 4 / 5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item--wide {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem 1rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #f7f3ee;
  background: linear-gradient(transparent, rgba(18, 12, 10, 0.78));
}

.gallery-note {
  margin: 1.15rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Contact */
.contact {
  background:
    linear-gradient(135deg, rgba(122, 36, 51, 0.05), transparent 40%),
    var(--paper-deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-intro,
.contact-form {
  min-width: 0;
}

.contact-meta {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-meta li {
  display: grid;
  gap: 0.25rem;
}

.meta-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-meta > li > a {
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
  word-break: break-word;
}

.contact-meta > li > a:hover {
  text-decoration: underline;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.15rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem 0.5rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  background: #fff;
}

.social-link svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  background: rgba(242, 239, 233, 0.9);
  border: 1px solid var(--line);
  border-radius: 2px;
}

/* Virtual business card */
.vcard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
}

.vcard-copy h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.vcard-copy p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 34rem;
}

.vcard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.vcard-actions .btn-ghost {
  color: var(--ink) !important;
  border-color: var(--line);
  background: transparent;
}

.vcard-actions .btn-ghost:hover {
  color: var(--accent) !important;
  border-color: var(--accent);
  background: #fff;
}

.vcard-card {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(176, 138, 90, 0.18), transparent 55%),
    linear-gradient(165deg, #2a1c1a 0%, #1c1412 55%, #140e0c 100%);
  color: #f7f3ee;
  border-radius: 2px;
  padding: 1.25rem 1.2rem 1.1rem;
  box-shadow: 0 18px 40px rgba(18, 12, 10, 0.22);
}

.vcard-card-top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.vcard-photo {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(247, 243, 238, 0.18);
}

.vcard-role {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

.vcard-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.vcard-qr-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.7rem;
  border: 0;
  background: #fff;
  cursor: pointer;
}

.vcard-qr-btn img {
  width: 100%;
  height: auto;
  display: block;
}

.vcard-qr-btn:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.vcard-hint,
.vcard-foot {
  margin: 0.7rem 0 0;
  text-align: center;
}

.vcard-hint {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(247, 243, 238, 0.86);
}

.vcard-foot {
  font-size: 0.75rem;
  color: rgba(247, 243, 238, 0.55);
}

.vcard-dialog {
  width: min(26rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 1.25rem 1.15rem 1.4rem;
  border: 0;
  border-radius: 2px;
  background: #1c1412;
  color: #f7f3ee;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.vcard-dialog::backdrop {
  background: rgba(12, 8, 7, 0.78);
  backdrop-filter: blur(8px);
}

.vcard-dialog-close {
  display: block;
  margin: 0 0 1rem auto;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: rgba(247, 243, 238, 0.7);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.vcard-dialog-close:hover,
.vcard-dialog-close:focus-visible {
  color: #f7f3ee;
}

.vcard-dialog-role {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
}

.vcard-dialog-sub {
  margin: 0.25rem 0 1rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

.vcard-dialog-qr {
  width: 100%;
  height: auto;
  background: #fff;
  padding: 0.85rem;
}

.vcard-dialog-hint {
  margin: 0.9rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(247, 243, 238, 0.8);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(122, 36, 51, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-status.is-ok {
  color: #2f6b45;
}

.form-status.is-err {
  color: var(--accent);
}

/* Footer */
.site-footer {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-img,
  .reveal,
  .gallery-item img,
  .about-figure img,
  .hero-scroll span {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid,
  .gallery-grid,
  .vcard {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-figure {
    aspect-ratio: 16 / 11;
    max-height: 380px;
  }

  .gallery-item,
  .gallery-item--wide {
    aspect-ratio: 16 / 10;
  }

  .vcard-card {
    max-width: 22rem;
    width: 100%;
    justify-self: center;
  }

  .vcard-actions .btn {
    flex: 1 1 11rem;
    justify-content: center;
    text-align: center;
  }

  .hero-img {
    object-position: 70% 12%;
  }

  .hero-veil {
    background: linear-gradient(
      180deg,
      rgba(18, 12, 10, 0.25) 0%,
      rgba(18, 12, 10, 0.45) 35%,
      rgba(18, 12, 10, 0.9) 100%
    );
  }
}

/* Phone */
@media (max-width: 760px) {
  :root {
    --page-pad: 1.25rem;
    --header-h: 60px;
  }

  body {
    font-size: 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem var(--page-pad) 1.25rem;
    background: rgba(242, 239, 233, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }

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

  .nav a {
    color: var(--ink) !important;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a.nav-cta {
    margin-top: 0.65rem;
    padding: 0.85rem 1.1rem;
    text-align: center;
    border: 1px solid var(--ink) !important;
    border-radius: 999px;
    background: var(--ink) !important;
    color: #f7f3ee !important;
  }

  .site-header.is-scrolled .nav a.nav-cta {
    background: var(--ink) !important;
    color: #f7f3ee !important;
    border-color: var(--ink) !important;
  }

  .logo-text {
    display: none;
  }

  .hero-content {
    padding: calc(var(--header-h) + 1.75rem) var(--page-pad) 3.25rem;
  }

  .hero-role {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .hero-name {
    font-size: clamp(2.15rem, 10.5vw, 2.85rem);
    line-height: 1.18;
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: 3.25rem 0;
  }

  h2 {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
    line-height: 1.28;
  }

  .award-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.3rem;
    padding: 1.25rem 0;
  }

  .award-body h3 {
    font-size: 1.05rem;
  }

  .gallery-item,
  .gallery-item--wide {
    aspect-ratio: 4 / 3;
  }

  .gallery-item figcaption {
    white-space: normal;
    font-size: 0.75rem;
    padding: 1.1rem 0.85rem 0.8rem;
  }

  .contact-form {
    padding: 1.15rem;
  }

  .field input,
  .field textarea {
    font-size: 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  :root {
    --page-pad: 1rem;
  }

  .hero-name {
    font-size: 2rem;
  }
}
