:root {
  --bg: #ffffff;
  --text: #141414;
  --muted: #4f4f4f;
  --line: #eeeeee;
  --accent: #3f4653;
}

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

html {
  background: #ffffff;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site {
  --nav-width: 220px;
  --col-gap: 3rem;
  min-height: 100vh;
  width: min(1160px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.6rem) clamp(1rem, 3vw, 2.2rem) clamp(1rem, 2vw, 1.6rem);
  background: #ffffff;
}

.top {
  display: grid;
  grid-template-columns: var(--nav-width) minmax(0, 1fr);
  gap: var(--col-gap);
  width: 100%;
  align-items: start;
}

.profile {
  justify-self: start;
  order: 2;
  width: 100%;
  padding-left: 1.9rem;
  border-left: 1px solid var(--line);
  background: #ffffff;
}

.empty-profile {
  min-height: 56vh;
}

.empty-page .empty-profile {
  min-height: clamp(260px, 42vh, 460px);
}

.profile h1 {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.3;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.profile p {
  margin: 0 0 1.25rem;
  max-width: none;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--muted);
}

.social {
  margin-top: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  color: var(--muted);
  transition: color 120ms ease, transform 120ms ease;
}

.social a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.social svg {
  width: 15px;
  height: 15px;
}

.menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  width: var(--nav-width);
  padding-top: 0.35rem;
  padding-bottom: 0;
  border-bottom: 0;
  order: 1;
}

.menu a {
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  line-height: 1.35;
  color: #697183;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.22rem;
  transition: color 120ms ease, border-color 120ms ease;
}

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

.menu a.active {
  border-bottom-color: var(--text);
  color: var(--text);
  font-weight: 700;
}

.content {
  flex: 1;
  margin-left: calc(var(--nav-width) + var(--col-gap));
  margin-top: 1.4rem;
  margin-right: 0.2rem;
  padding: 0;
  background: #ffffff;
}

.content h2 {
  display: none;
}

.content p,
.content li {
  margin: 0;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.84;
}

.content ul {
  margin: 0;
  padding-left: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.album {
  max-width: 100%;
}

.my-eyes-page .content {
  display: none;
}

.album-heading {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text);
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1.25rem 1.25rem;
}

.album-card {
  margin: 0;
}

.album-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid #f3f3f3;
  border-radius: 6px;
  object-fit: cover;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(20, 20, 20, 0.04);
  -webkit-mask-image: radial-gradient(
    130% 115% at 50% 50%,
    #000 72%,
    rgba(0, 0, 0, 0.68) 86%,
    transparent 100%
  );
  mask-image: radial-gradient(
    130% 115% at 50% 50%,
    #000 72%,
    rgba(0, 0, 0, 0.68) 86%,
    transparent 100%
  );
}

.album-caption {
  margin: 0.35rem 0 0.02rem;
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  color: #1f1f1f;
  line-height: 1.3;
}

.album-subcaption {
  margin: 0;
  font-size: 0.69rem;
  color: #797979;
  line-height: 1.3;
}

.album-cover {
  display: flex;
  align-items: flex-end;
  padding: 0.55rem;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.cover-kitchen {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)),
    linear-gradient(135deg, #caa54a 0 18%, #2f445f 18% 100%);
}

.cover-hour {
  color: #2a2a2a;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(220, 220, 220, 0.95)),
    linear-gradient(135deg, #f5f5f5, #e2e2e2);
}

.empty-space {
  min-height: 24vh;
}

.empty-page .content {
  margin-top: 0.5rem;
}

.empty-page .empty-space {
  min-height: 0;
}

.footer {
  margin-top: auto;
  border-top: 1px solid #f2f2f2;
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.2rem;
  background: #ffffff;
}

.footer-left p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.55;
  color: var(--muted);
}

.footer-left p + p {
  margin-top: 0.1rem;
}

.footer-left .signature {
  margin-top: 0.3rem;
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  font-weight: 600;
}

.footer-right {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.5;
  color: #777777;
  white-space: nowrap;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.footer-time {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.5;
  color: #777777;
  white-space: nowrap;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .site {
    --nav-width: 180px;
    --col-gap: 2rem;
  }

  .top {
    grid-template-columns: var(--nav-width) minmax(0, 1fr);
    gap: var(--col-gap);
  }

  .menu {
    width: var(--nav-width);
    gap: 0.9rem;
  }

  .content {
    margin-left: calc(var(--nav-width) + var(--col-gap));
    margin-top: 1.2rem;
  }

  .profile {
    padding-left: 1.4rem;
  }

  .profile h1 {
    font-size: 0.95rem;
  }

  .profile p {
    font-size: 0.97rem;
  }

  .album-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .album-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site {
    padding: 1.4rem 1rem 1rem;
  }

  .top {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .profile {
    max-width: 100%;
    order: 1;
    padding-left: 0;
    border-left: 0;
  }

  .empty-profile {
    min-height: 0;
  }

  .menu {
    width: 100%;
    order: 2;
    gap: 0.75rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.65rem;
  }

  .content {
    margin-left: 0;
    margin-right: 0;
    margin-top: 1rem;
    padding: 0;
  }

  .empty-space {
    min-height: 26vh;
  }

  .footer {
    flex-direction: column;
    gap: 0.55rem;
  }

  .footer-meta {
    align-items: flex-start;
  }
}
