﻿/* ============================================================
   Revision: larger type, timeline dial, city globe, travel board
   ============================================================ */

/* ---- microtype / navigation ---- */

.nav {
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.header__cta {
  font-size: 13px;
  letter-spacing: 0.04em;
}

.brand__name strong {
  font-size: 15px;
}

.brand__name em {
  font-size: 7.5px;
}

.label,
.eyebrow,
.section__note,
.scene-note,
.timeline-dial__caption,
.page-hero__meta,
.breadcrumb,
.page-section__head p,
.timeline-card__tag,
.scene-foot {
  font-size: 10.5px;
}

.label {
  letter-spacing: 0.08em;
}

.hero__en {
  font-size: 10px;
}

.hero__intro {
  font-size: 15px;
}

.hero__footer {
  font-size: 9px;
}

.timeline-card p {
  font-size: 14px;
}

.city-meta__region,
.city-meta__coord {
  font-size: 9.5px;
}

.city-meta p {
  font-size: 15px;
}

.city-counter b {
  font-size: 46px;
}

.city-slide__en,
.city-slide__no,
.photo-card__meta span,
.world__stats span {
  font-size: 8.5px;
}

.city-slide__hint {
  left: auto;
  right: 22px;
  bottom: 18px;
  font-size: 8.5px;
  text-align: right;
}

.guestbook-form label {
  font-size: 9.5px;
}

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

.footer__bottom,
.footer__bottom nav,
.footer__brand span,
.footer__slogan em {
  font-size: 9.5px;
}

.post__meta,
.post__read {
  font-size: 9.5px;
}

/* ---- central timeline dial ---- */

.timeline-dial-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 10px 0 4px;
}

.timeline-dial {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(248, 244, 235, 0.34);
}

.timeline-dial__ring {
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(20, 20, 20, 0.35);
  border-radius: 50%;
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.08s linear;
}

.timeline-dial__ring::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--red);
}

.timeline-dial b {
  position: relative;
  z-index: 1;
  font-family: var(--wide);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.timeline-dial__arrow {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.timeline-dial__caption {
  font-family: var(--mono);
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---- city globe ---- */

.city-bottom {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 22px;
}

.city-bottom .city-counter {
  margin-top: 0;
}

.city-globe {
  position: relative;
  display: block;
  width: 200px;
  flex: 0 0 auto;
  aspect-ratio: 1;
  margin-top: 0;
  border-radius: 50%;
  transition: transform 0.5s var(--ease);
}

.city-globe:hover {
  transform: scale(1.025);
}

#cityGlobe {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(248, 244, 235, 0.22);
  cursor: pointer;
}

.city-globe__hint {
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: max-content;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: rgba(248, 244, 235, 0.55);
  white-space: nowrap;
}

/* ---- travel board: all 9 cities in one page ---- */

.travel-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 94px 46px 18px;
  background: var(--paper);
}

.travel-head {
  flex: none;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.travel-head__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 18px;
}

.travel-head h1 {
  font-family: var(--display);
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.travel-head h1 em {
  font-style: normal;
  color: var(--red);
}

.travel-head__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 10px;
}

.travel-head__bottom p {
  max-width: 480px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.travel-head__meta {
  display: flex;
  gap: 18px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

.travel-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 36px;
  padding: 9px 0 2px;
}

.travel-globe-wrap {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.travel-globe {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  min-height: 0;
}

#worldGlobe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}

.travel-hud {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.travel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.travel-stats div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.travel-stats strong {
  font-family: var(--wide);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  color: var(--red);
}

.travel-stats span {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
}

.travel-cities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 8px;
  min-height: 0;
  height: 100%;
}

.travel-city {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(248, 244, 235, 0.16);
  color: var(--cream);
}

.travel-city .city-slide__art {
  position: absolute;
  inset: 0;
  padding: 12px;
}

.travel-city .city-slide__han {
  font-size: clamp(46px, 5.2vw, 88px);
  line-height: 0.8;
  opacity: 0.9;
  transition: transform 0.6s var(--ease);
}

.travel-city:hover .city-slide__han {
  transform: translateY(-4px);
}

.travel-city .city-slide__en {
  display: none;
}

.travel-city__meta {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 9px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  color: var(--cream);
}

.travel-city__meta strong {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
}

.travel-city__meta span {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
  color: rgba(248, 244, 235, 0.58);
}

.travel-city__meta i {
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  color: rgba(248, 244, 235, 0.5);
}

.travel-foot {
  flex: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

#places {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- albums ---- */

.album-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 132px 48px 80px;
}

.album-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.album-head h1 {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(54px, 8vw, 118px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.album-head__meta {
  text-align: right;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.album-head__meta strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}

.album-intro {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 0 30px;
}

.album-intro p {
  max-width: 460px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.album-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
}

.album-frame {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.album-frame--wide {
  aspect-ratio: 16 / 10;
  grid-column: 1 / -1;
}

.album-frame--tall {
  aspect-ratio: 4 / 5;
}

.album-frame .city-slide__art {
  position: absolute;
  inset: 0;
  padding: 18px;
}

.album-frame .city-slide__han {
  font-size: clamp(90px, 13vw, 190px);
}

.album-frame__no {
  position: absolute;
  left: 14px;
  top: 12px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(248, 244, 235, 0.65);
  mix-blend-mode: difference;
}

.album-frame__note {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(248, 244, 235, 0.6);
  mix-blend-mode: difference;
}

.album-foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.album-foot a:hover {
  color: var(--red);
}

/* ---- guestbook cards ---- */

.guestbook-list {
  counter-reset: guest;
  gap: 10px;
}

.guestbook-item {
  counter-increment: guest;
  position: relative;
  padding: 20px 22px 20px 64px;
  border: 1px solid var(--line-strong);
  background: rgba(248, 244, 235, 0.55);
  transition: background 0.35s, border-color 0.35s, transform 0.35s var(--ease);
}

.guestbook-item::before {
  content: counter(guest, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 22px;
  font-family: var(--wide);
  font-size: 18px;
  font-weight: 300;
  color: var(--red);
}

.guestbook-item:hover {
  background: rgba(248, 244, 235, 0.9);
  border-color: var(--ink-soft);
  transform: translateY(-2px);
}

.guestbook-item__top {
  font-size: 9.5px;
}

.guestbook-item__top strong {
  font-size: 11px;
}

.guestbook-item p {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
}

/* ---- tighter page rhythm ---- */

.page-hero {
  padding-top: 136px;
  padding-bottom: 50px;
}

.page-hero h1 {
  font-size: clamp(56px, 8vw, 124px);
}

.page-section {
  padding-top: 60px;
  padding-bottom: 96px;
}

.about-page__grid {
  gap: 70px;
}

/* ---- responsive ---- */

@media (max-width: 1100px) {
  .nav {
    gap: 20px;
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  .timeline-dial-row {
    display: none;
  }

  .city-globe {
    width: 150px;
    margin-top: 8px;
  }

  .city-globe__hint {
    bottom: -17px;
    font-size: 7.5px;
  }

  .travel-page {
    min-height: auto;
    padding: 98px 20px 50px;
  }

  .travel-head__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .travel-head h1 {
    font-size: 42px;
  }

  .travel-head__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .travel-head__meta {
    flex-wrap: wrap;
  }

  .travel-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .travel-globe {
    max-width: 360px;
    margin: 0 auto;
  }

  .travel-cities {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .travel-city {
    aspect-ratio: 1.05;
  }

  .album-page {
    padding: 120px 20px 70px;
  }

  .album-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .album-head__meta {
    text-align: left;
  }

  .album-grid {
    grid-template-columns: 1fr;
  }

  .album-frame--wide {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .city-globe {
    width: 132px;
  }

  .cities-visual {
    height: 32vh;
  }

  .guestbook-item {
    padding: 18px 16px 18px 48px;
  }

  .guestbook-item::before {
    left: 14px;
    font-size: 15px;
  }

  .guestbook-item p {
    font-size: 17px;
  }

  .nav {
    font-size: 10px;
  }
}





/* ---- second-pass fit and visibility ---- */

.city-globe::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 2;
  border: 1px solid rgba(226, 58, 46, 0.45);
  border-radius: 50%;
  pointer-events: none;
}

.city-globe::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--red);
  pointer-events: none;
}

.album-grid {
  grid-template-columns: 1.35fr 0.65fr;
  grid-template-rows: 1fr 1fr;
  height: min(46vh, 440px);
}

.album-frame .city-slide__en {
  display: none;
}

.album-frame--wide {
  grid-column: 1;
  grid-row: 1 / 3;
  aspect-ratio: auto;
  height: 100%;
}

.album-frame--tall {
  aspect-ratio: auto;
  height: 100%;
}

.travel-page {
  padding-top: 90px;
  padding-bottom: 8px;
}

.travel-head {
  padding-bottom: 12px;
}

.travel-grid {
  padding-top: 7px;
}

.travel-foot {
  padding-top: 5px;
  font-size: 8px;
}

.page--guestbook .page-hero {
  padding-top: 126px;
  padding-bottom: 34px;
}

.page--guestbook .page-hero h1 {
  font-size: clamp(46px, 7vw, 96px);
}

.page--guestbook .page-section {
  padding-top: 36px;
  padding-bottom: 64px;
}

.page--guestbook .guestbook-form {
  padding: 20px;
  gap: 12px;
}

.page--guestbook .guestbook-form textarea {
  min-height: 82px;
}

@media (max-width: 900px) {
  .album-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
  }

  .album-frame--wide {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .album-frame--tall {
    aspect-ratio: 4 / 5;
    height: auto;
  }
}



.city-slide {
  display: block;
  visibility: hidden;
  pointer-events: none;
}

.city-slide.is-active {
  visibility: visible;
  pointer-events: auto;
}



/* ---- final readability pass ---- */

.nav {
  gap: 18px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.header__cta {
  font-size: 16px;
}

.brand__name strong {
  font-size: 20px;
}

.brand__name em {
  font-size: 9px;
}

.label,
.eyebrow,
.section__note,
.scene-note,
.timeline-dial__caption,
.page-hero__meta,
.breadcrumb,
.page-section__head p,
.scene-foot {
  font-size: 14px;
}

.hero__en {
  font-size: 12px;
}

.hero__intro {
  font-size: 16px;
}

.hero__footer {
  font-size: 10px;
}

.timeline-card p {
  font-size: 15px;
}

.timeline-card__tag {
  font-size: 10px;
}

.city-meta__region,
.city-meta__coord {
  font-size: 12px;
}

.city-meta p {
  font-size: 16px;
}

.city-counter b {
  font-size: 48px;
}

.city-slide__en,
.city-slide__no,
.city-slide__hint,
.photo-card__meta span,
.world__stats span {
  font-size: 10px;
}

.footer__bottom,
.footer__bottom nav,
.footer__brand span,
.footer__slogan em {
  font-size: 12px;
}

.btn {
  font-size: 15px;
}

.page-hero__lede,
.travel-head__bottom p,
.album-intro p,
.about-page__copy p {
  font-size: 16px;
}

.guestbook-form label {
  font-size: 11px;
}

.guestbook-item__top {
  font-size: 10.5px;
}

.guestbook-item__top strong {
  font-size: 12px;
}

.travel-city__meta span {
  font-size: 9px;
}

.travel-city__meta strong {
  font-size: 20px;
}

.travel-stats span {
  font-size: 10px;
}

.travel-stats strong {
  font-size: 32px;
}

.album-head__meta {
  font-size: 11px;
}

.album-frame__no,
.album-frame__note {
  font-size: 10px;
}

@media (max-width: 1100px) {
  .nav {
    gap: 16px;
    font-size: 20px;
  }
}

@media (max-width: 560px) {
  .nav {
    font-size: 18px;
  }
}

/* ---- local account UI ---- */

.auth {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.auth__btn {
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.auth__btn--line:hover {
  border-color: var(--ink);
}

.auth__btn--fill {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.auth__btn--fill:hover {
  background: var(--red);
  border-color: var(--red);
}

.auth__hello {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  color: var(--muted);
}

.auth__hello b {
  color: var(--ink);
  font-weight: 600;
}

.auth--mobile {
  display: none;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 9800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.auth-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.56);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.auth-modal__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  transform: translateY(18px);
  transition: transform 0.45s var(--ease);
}

.auth-modal.is-open .auth-modal__panel {
  transform: translateY(0);
}

.auth-modal__close {
  position: absolute;
  right: 18px;
  top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  cursor: pointer;
}

.auth-modal__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.auth-modal__brand img {
  width: 56px;
  height: auto;
}

.auth-modal__brand span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.auth-tabs {
  display: flex;
  gap: 22px;
  margin-top: 22px;
  border-bottom: 1px solid var(--line);
}

.auth-tabs button {
  position: relative;
  padding: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
}

.auth-tabs button.is-active {
  color: var(--ink);
}

.auth-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--red);
}

.auth-modal__panel h2 {
  margin-top: 22px;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.auth-modal__sub {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

#authForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 22px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.auth-field input {
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  outline: none;
}

.auth-field input:focus {
  border-color: var(--red);
}

.auth-error {
  min-height: 16px;
  font-size: 11px;
  color: var(--red);
}

.auth-submit {
  width: 100%;
  justify-content: space-between;
}

.auth-note {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.7;
  color: var(--muted);
}

body.auth-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .header__cta {
    display: none;
  }
}

@media (max-width: 900px) {
  .header > .auth {
    display: none;
  }

  .auth--mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
  }

  .auth--mobile .auth__btn {
    flex: 1;
    padding: 12px;
    font-size: 15px;
  }

  .auth--mobile .auth__hello {
    width: 100%;
    max-width: none;
    font-size: 14px;
  }

  .auth-modal__panel {
    padding: 24px 20px;
  }
}

/* textured Earth presentation */

.travel-globe {
  isolation: isolate;
  filter: drop-shadow(0 30px 60px rgba(20, 20, 18, 0.16));
}

.travel-globe::before {
  content: "";
  position: absolute;
  inset: 4%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 28%, rgba(226, 58, 46, 0.16), transparent 58%),
    radial-gradient(circle at 62% 72%, rgba(120, 108, 86, 0.12), transparent 62%);
  filter: blur(16px);
  pointer-events: none;
}

#worldGlobe {
  z-index: 1;
  display: block;
}

.travel-globe::after {
  content: "";
  position: absolute;
  inset: 5%;
  z-index: 2;
  border: 1px solid rgba(20, 20, 18, 0.14);
  border-radius: 50%;
  pointer-events: none;
}




.nav a {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 1100px) {
  .nav a {
    font-size: 17px;
  }
}

@media (max-width: 560px) {
  .nav a {
    font-size: 16px;
  }
}


.globe-city-label {
  position: absolute;
  left: 50%;
  bottom: 7%;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  background: rgba(243, 239, 231, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  pointer-events: none;
  white-space: nowrap;
}

.globe-city-label span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.globe-city-label b {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
}

.travel-city.is-hover {
  border-color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
}

.auth-code-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.auth-code-row input {
  flex: 1;
  min-width: 0;
}

.auth-code-send {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}

.auth-code-send:disabled {
  color: var(--muted);
  cursor: default;
}

.auth-code-demo {
  min-height: 16px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--red);
}

[hidden] {
  display: none !important;
}

/* feedback + changelog */

.feedback-section {
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.feedback-intro {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 44px;
}

.feedback-intro .display {
  font-size: clamp(40px, 5vw, 72px);
}

.feedback-intro__desc {
  max-width: 470px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.feedback-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.feedback-panel {
  padding: 26px;
  border: 1px solid var(--line-strong);
  background: rgba(248, 244, 235, 0.55);
}

.feedback-auth {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.feedback-auth p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feedback-form label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.feedback-form textarea {
  width: 100%;
  min-height: 150px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  resize: vertical;
  outline: none;
}

.feedback-form textarea:focus {
  border-color: var(--red);
}

.feedback-form .btn {
  align-self: flex-start;
}

.feedback-status {
  min-height: 18px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--red);
}

.feedback-list-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.feedback-empty {
  padding: 24px;
  border: 1px dashed var(--line-strong);
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.feedback-item {
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  background: rgba(248, 244, 235, 0.5);
}

.feedback-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.feedback-tag {
  padding: 2px 7px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

.feedback-tag.is-replied {
  border-color: var(--red);
  color: var(--red);
}

.feedback-item__text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
}

.feedback-reply {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 2px solid var(--red);
  background: rgba(226, 58, 46, 0.05);
}

.feedback-reply span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--red);
}

.feedback-reply p {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.changelog-list {
  border-top: 1px solid var(--line);
}

.changelog-list li {
  display: grid;
  grid-template-columns: 120px 70px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.changelog-list__date {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.changelog-list strong {
  font-family: var(--wide);
  font-size: 15px;
  font-weight: 500;
  color: var(--red);
}

.changelog-list p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .feedback-intro,
  .feedback-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .changelog-list li {
    grid-template-columns: 90px 50px 1fr;
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .changelog-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.guest-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.guest-pager button {
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  color: var(--ink);
  cursor: pointer;
}

.guest-pager button:disabled {
  color: var(--muted);
  cursor: default;
  opacity: 0.5;
}




.feedback-entry-section {
  padding-top: 24px;
}

.feedback-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  border: 1px solid var(--line-strong);
  background: var(--paper-deep);
  transition: background 0.35s, color 0.35s;
}

.feedback-entry:hover {
  background: var(--ink);
  color: var(--cream);
}

.feedback-entry span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.feedback-entry strong {
  flex: 1;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
}

.feedback-entry i {
  font-style: normal;
  font-size: 22px;
}

@media (max-width: 560px) {
  .feedback-entry {
    flex-wrap: wrap;
    padding: 20px;
  }

  .feedback-entry strong {
    flex-basis: 100%;
    font-size: 22px;
  }
}

.feedback-page {
  padding-top: 50px;
}

.feedback-page .feedback-grid {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
}

.feedback-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line-strong);
  background: var(--paper-deep);
}

.feedback-side__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.feedback-side__link {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
}

.feedback-side__link:hover {
  color: var(--red);
}

.feedback-side__link i {
  font-style: normal;
  font-size: 18px;
}

.feedback-side p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.feedback-side code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--red);
}

.feedback-code {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--red);
}

.feedback-item__meta {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
}

.feedback-list-foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.feedback-empty--login {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.feedback-empty--login p {
  margin: 0;
}

.feedback-status a {
  color: var(--red);
  text-decoration: underline;
}

.feedback-status b {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
}

@media (max-width: 900px) {
  .feedback-page .feedback-grid {
    grid-template-columns: 1fr;
  }
}

.auth__admin {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--red);
  padding: 6px 2px;
}

.auth__admin:hover {
  border-bottom: 1px solid var(--red);
}

.guestbook-list .guestbook-item {
  animation: guestIn 0.55s var(--ease) both;
}

@keyframes guestIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.globe-zoom {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.globe-zoom button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(243, 239, 231, 0.9);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.globe-zoom button:hover {
  background: var(--ink);
  color: var(--cream);
}

.globe-zoom span {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.photo-feed-section {
  border-top: 1px solid var(--line);
}

.photo-masonry {
  columns: 3;
  column-gap: 14px;
}

.photo-masonry__item {
  break-inside: avoid;
  margin: 0 0 14px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.photo-masonry__item img {
  display: block;
  width: 100%;
  height: auto;
}

.photo-masonry__item figcaption {
  padding: 10px 12px 12px;
}

.photo-masonry__item figcaption span {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.photo-masonry__item figcaption strong {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
}

.photo-masonry__item figcaption p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.photo-feed-empty {
  grid-column: 1 / -1;
  padding: 30px;
  border: 1px dashed var(--line-strong);
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

@media (max-width: 900px) {
  .photo-masonry {
    columns: 2;
  }
}

@media (max-width: 560px) {
  .photo-masonry {
    columns: 1;
  }
}

.feedback-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 16px 0 12px;
}

.feedback-progress::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 4px;
  height: 1px;
  background: var(--line-strong);
}

.feedback-progress::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  height: 1px;
  width: calc((100% - 12px) * var(--p, 0) / 100);
  background: var(--red);
  transition: width 0.4s var(--ease);
}

.feedback-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 15px;
}

.feedback-step__dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  transform: translateX(-50%);
}

.feedback-step.is-done .feedback-step__dot {
  border-color: var(--red);
  background: var(--red);
}

.feedback-step__label {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
}

.feedback-step.is-done .feedback-step__label {
  color: var(--ink);
}

.feedback-step.is-current .feedback-step__label {
  color: var(--red);
}

.feedback-item .feedback-progress {
  max-width: 560px;
}

.travel-city--custom .city-slide__art {
  background: var(--custom, linear-gradient(145deg, #d9c3a0, #a97853));
}


/* readability pass — feedback center */
.feedback-auth p {
  font-size: 16px;
}

.feedback-form label {
  font-size: 13px;
}

.feedback-form textarea {
  font-size: 16px;
}

.feedback-status {
  font-size: 13px;
  line-height: 1.7;
}

.feedback-list-head {
  font-size: 12px;
}

.feedback-empty {
  font-size: 15px;
}

.feedback-item {
  padding: 22px 24px;
}

.feedback-item__top {
  font-size: 12px;
}

.feedback-tag {
  font-size: 13px;
  padding: 3px 9px;
}

.feedback-code {
  font-size: 14px;
}

.feedback-item__text {
  font-size: 16px;
  line-height: 1.9;
}

.feedback-item__meta {
  font-size: 12px;
}

.feedback-reply span {
  font-size: 11px;
}

.feedback-reply p {
  font-size: 15px;
}

.feedback-progress {
  margin: 22px 0 16px;
}

.feedback-step {
  padding-top: 19px;
}

.feedback-step__dot {
  width: 11px;
  height: 11px;
}

.feedback-progress::before,
.feedback-progress::after {
  top: 5px;
}

.feedback-step__label {
  font-size: 13px;
  letter-spacing: 0.01em;
}

.feedback-side p {
  font-size: 15px;
}

.feedback-side__label {
  font-size: 12px;
}

.feedback-side code {
  font-size: 13px;
}

.feedback-list-foot .text-link span {
  font-size: 13px;
}


.guestbook-status {
  min-height: 18px;
  margin: 10px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
}

.guestbook-empty {
  padding: 24px;
  border: 1px dashed var(--line-strong);
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* Cloudflare Turnstile in the auth modal */
.auth-turnstile {
  display: flex;
  justify-content: flex-start;
  margin: 2px 0 4px;
  min-height: 65px;
}

.auth-turnstile[hidden] {
  display: none;
}

@media (max-width: 560px) {
  .auth-turnstile {
    transform: scale(0.92);
    transform-origin: left top;
  }
}

.guestbook-turnstile {
  margin: 2px 0 8px;
  min-height: 65px;
}

.guestbook-turnstile[hidden] {
  display: none;
}

@media (max-width: 560px) {
  .guestbook-turnstile {
    transform: scale(0.92);
    transform-origin: left top;
  }
}

/* account center */
.page--account .page-hero {
  padding-bottom: 34px;
}

.account-page {
  padding-top: 20px;
  padding-bottom: 80px;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  max-width: 980px;
}

.account-card {
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.account-card h2 {
  margin: 10px 0 0;
  font: 400 34px/1.2 var(--display);
}

.account-profile__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.account-profile__head img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  filter: saturate(0.7);
}

.account-profile__head h2 {
  margin: 0;
  font-size: 28px;
}

.account-profile__head p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
  word-break: break-all;
}

.account-meta {
  margin: 24px 0 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.account-meta div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 0;
  font-size: 13px;
}

.account-meta dt {
  color: var(--muted);
}

.account-meta dd {
  margin: 0;
  color: var(--ink);
}

.account-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}

.account-password__note {
  margin: 12px 0 18px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.account-password label {
  display: block;
  margin: 0 0 13px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.account-password input {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  padding: 11px 12px;
  font: 14px/1.5 var(--sans);
  color: var(--ink);
}

.account-password .auth-code-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.account-password .auth-code-row input {
  margin-top: 0;
}

.account-password .auth-code-send {
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  background: none;
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink);
}

.account-password .btn {
  width: 100%;
  margin-top: 4px;
}

.account-guest {
  max-width: 560px;
  padding: 44px 28px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.account-guest h2 {
  margin: 12px 0 22px;
  font: 400 34px/1.2 var(--display);
}

.account-password .guestbook-status.is-error {
  color: var(--red);
}

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

  .account-card {
    padding: 20px;
  }
}

.auth__hello a {
  color: inherit;
  text-decoration: none;
}

.auth__hello a:hover {
  color: var(--red);
}

.auth__name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
}

.auth__name i {
  font-style: normal;
  font-size: 10px;
  color: var(--red);
  animation: authNameNudge 2.4s var(--ease) infinite;
}

.auth__name:hover {
  border-bottom-color: var(--red);
}

.auth__name:hover i {
  animation-play-state: paused;
}

@keyframes authNameNudge {
  0%, 78%, 100% { transform: translate(0, 0); opacity: 0.7; }
  86% { transform: translate(2px, -2px); opacity: 1; }
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--paper-deep);
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(0.97);
}

.account-avatar span {
  font: 400 28px/1 var(--display);
  color: var(--muted);
}

.account-avatar-actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}

.account-avatar-note {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

.account-avatar-actions button {
  border: 1px solid var(--line-strong);
  background: none;
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.account-avatar-actions button:hover {
  border-color: var(--red);
  color: var(--red);
}

/* 1:1 avatar cropper */
.avatar-crop {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 15, 13, 0.82);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.avatar-crop[hidden] {
  display: none;
}

.avatar-crop__panel {
  width: min(430px, 100%);
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
}

.avatar-crop__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.avatar-crop__close {
  border: 0;
  background: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 14px;
}

.avatar-crop__viewport {
  position: relative;
  width: 320px;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 20px auto 0;
  overflow: hidden;
  background: var(--paper-deep);
  cursor: grab;
  touch-action: none;
}

.avatar-crop__viewport:active {
  cursor: grabbing;
}

.avatar-crop__viewport img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.avatar-crop__frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(248, 244, 235, 0.9);
  box-shadow: 0 0 0 999px rgba(17, 15, 13, 0.34);
  pointer-events: none;
}

.avatar-crop__zoom {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.avatar-crop__zoom input {
  flex: 1;
  accent-color: var(--red);
}

.avatar-crop__hint {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

.avatar-crop__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

body.avatar-crop-open {
  overflow: hidden;
}

@media (max-width: 520px) {
  .avatar-crop__panel {
    padding: 16px;
  }

  .avatar-crop__viewport {
    width: 100%;
  }
}

.account-turnstile {
  display: flex;
  justify-content: flex-start;
  min-height: 65px;
  margin: 10px 0 4px;
}

.account-turnstile[hidden] {
  display: none;
}

@media (max-width: 560px) {
  .account-turnstile {
    transform: scale(0.92);
    transform-origin: left top;
  }
}

.guestbook-item__who {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.guestbook-item__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--paper-deep);
}

.guestbook-item__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(0.97);
}

.guestbook-item__avatar span {
  font: 400 14px/1 var(--display);
  color: var(--muted);
}

@media (max-width: 560px) {
  .guestbook-item__avatar {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
}

.guestbook-delete {
  margin-top: 10px;
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.guestbook-delete:hover {
  color: var(--red);
  border-color: var(--red);
}

.account-name-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.account-name-line h2 {
  margin: 0;
}

.account-name-edit {
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  padding: 2px 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.account-name-edit:hover {
  color: var(--red);
  border-color: var(--red);
}

.account-name-form {
  margin: 12px 0 0;
  max-width: 340px;
}

.account-name-form input {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  padding: 9px 11px;
  font: 14px/1.6 var(--sans);
  color: var(--ink);
}

.account-name-form__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.account-name-form__actions .btn {
  padding: 8px 14px;
}

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-service {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 26px;
  border: 1px solid var(--line-strong);
  background: var(--paper-soft);
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}

.home-service:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  background: var(--paper);
}

.home-service__index {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--red);
}

.home-service h3 {
  margin: 30px 0 12px;
  font: 400 clamp(30px, 3.5vw, 44px)/1.12 var(--display);
}

.home-service p {
  max-width: 380px;
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.home-service__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink);
}

.home-service__link i {
  color: var(--red);
  font-style: normal;
}

.home-services__more {
  display: inline-flex;
  margin-top: 22px;
}

@media (max-width: 640px) {
  .home-services__grid {
    grid-template-columns: 1fr;
  }

  .home-service {
    min-height: 240px;
  }
}

.now__wecom {
  margin-top: 14px;
}
