:root {
  --bg: #fcfcfa;
  --surface: #ffffff;
  --text: #111111;
  --muted: #71717a;
  --border: #e5e5e5;
  --accent: #0ea5a4;
  --accent-dark: #0b7f7e;
  --soft: #f4f4f1;
  --radius: 16px;
  --shell: 1120px;
  --tap-shell: 620px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --shadow-border:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 1px 2px -1px rgba(0, 0, 0, 0.06),
    0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-border-hover:
    0 0 0 1px rgba(14, 165, 164, 0.3),
    0 1px 2px -1px rgba(0, 0, 0, 0.08),
    0 12px 28px -20px rgba(0, 0, 0, 0.28);
  --shadow-popover:
    0 0 0 1px rgba(0, 0, 0, 0.07),
    0 18px 50px rgba(17, 17, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(14, 165, 164, 0.035), transparent 320px),
    var(--bg);
  color: var(--text);
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(14, 165, 164, 0.72);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
label,
.article-title,
.link-copy {
  text-wrap: pretty;
}

.shell {
  width: min(calc(100% - 32px), var(--shell));
  margin-inline: auto;
}

.tap-shell {
  width: min(calc(100% - 24px), var(--tap-shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(229, 229, 229, 0.72);
  background: rgba(252, 252, 250, 0.88);
  backdrop-filter: blur(18px);
}

.header-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
}

.brand span {
  margin-inline: 6px;
  color: var(--muted);
}

.header-actions,
.social-links,
.hero-actions,
.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.social-links {
  gap: 2px;
}

.social-icon-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--muted);
  transition-property: background-color, border-color, color, scale;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}

.social-icon-link:hover {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.social-icon-link:active,
.button:active,
.link-card:active,
.article-row:active {
  scale: 0.96;
}

.social-icon-link svg {
  display: block;
  width: 18px;
  height: 18px;
}

.social-icon--threads {
  font-size: 12px;
  font-weight: 780;
  letter-spacing: -0.08em;
  transform: translateY(-0.5px);
}

.language-button {
  display: inline-flex;
  min-width: 46px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 560;
  cursor: default;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-border);
  font-weight: 650;
  cursor: pointer;
  transition-property: background-color, color, box-shadow, scale;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}

.button:hover {
  box-shadow: var(--shadow-border-hover);
}

.button-primary {
  background: var(--text);
  color: var(--surface);
  box-shadow: none;
}

.button-primary:hover {
  background: var(--accent-dark);
  box-shadow: none;
}

.button-quiet {
  background: transparent;
  box-shadow: none;
  color: var(--muted);
}

.button-quiet:hover {
  background: var(--soft);
  color: var(--text);
  box-shadow: none;
}

.button svg,
.link-arrow svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.page-main {
  padding-block: 64px 28px;
}

.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.page-intro h1 {
  margin: 0 0 8px;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.page-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-border);
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  min-height: 330px;
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 5vw, 52px);
}

.project-kicker {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.project-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.project-domain,
.article-meta,
.quiet-copy,
.privacy-note,
.site-footer {
  color: var(--muted);
}

.project-domain {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.project-visual {
  position: relative;
  display: grid;
  min-height: 280px;
  place-items: center;
  overflow: hidden;
  border-left: 1px solid var(--border);
  background: var(--soft);
}

.orbit {
  position: relative;
  width: min(68%, 250px);
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.orbit::before {
  inset: 22%;
  border: 1px solid var(--border);
}

.orbit::after {
  top: 9%;
  left: 59%;
  width: 18%;
  aspect-ratio: 1;
  background: var(--accent);
  box-shadow: 0 0 0 9px rgba(14, 165, 164, 0.12);
}

.orbit-word {
  position: absolute;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 760;
  letter-spacing: -0.06em;
}

.latest-block {
  padding: 0 clamp(24px, 4vw, 42px) 10px;
}

.latest-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px 14px;
  border-top: 1px solid var(--border);
}

.latest-heading h2,
.latest-heading h3 {
  margin: 0;
}

.text-link {
  color: var(--muted);
  transition-property: color;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}

.text-link:hover {
  color: var(--accent-dark);
}

.article-row {
  display: grid;
  grid-template-columns: clamp(124px, 15vw, 166px) minmax(0, 1fr) 40px;
  min-height: 116px;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  padding-block: 16px;
  border-top: 1px solid var(--border);
  transition-property: color, scale;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}

.article-row:hover {
  color: var(--accent-dark);
}

.article-title {
  margin: 0 0 6px;
  max-width: 100%;
  font-size: clamp(18px, 2.35vw, 25px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: pretty;
}

.article-copy {
  min-width: 0;
}

.article-meta {
  margin: 0;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.link-arrow {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  transition-property: transform;
  transition-duration: 160ms;
  transition-timing-function: var(--ease);
}

.article-row:hover .link-arrow,
.link-card:hover .link-arrow {
  transform: translate(2px, -2px);
}

.article-preview {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border-radius: 12px;
  background: var(--soft);
  box-shadow: var(--shadow-border);
}

.article-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
  transition-property: scale;
  transition-duration: 180ms;
  transition-timing-function: var(--ease);
}

.article-row:hover .article-preview img {
  scale: 1.02;
}

.article-preview-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.feedback-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding-block: 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feedback-bar h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.feedback-bar p {
  margin: 0;
  max-width: 680px;
  text-wrap: pretty;
}

.feedback-panel {
  margin-top: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-border);
}

.feedback-panel[hidden] {
  display: none;
}

.feedback-panel.is-entering {
  animation: panel-enter 220ms var(--ease) both;
}

.feedback-intro {
  max-width: 680px;
  margin-bottom: 24px;
}

.feedback-eyebrow {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feedback-intro h2 {
  margin: 0 0 9px;
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.feedback-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  text-wrap: pretty;
}

@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.feedback-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  align-content: start;
  gap: 8px;
}

.field span {
  font-size: 14px;
  font-weight: 650;
}

.field-name {
  max-width: 520px;
}

.field .field-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
}

.field-label small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 520;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--bg);
  color: var(--text);
  transition-property: border-color, box-shadow, background-color;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}

.field input {
  min-height: 46px;
  padding: 0 13px;
}

.field textarea {
  min-height: 132px;
  padding: 12px 13px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  background: var(--surface);
}

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

.form-actions {
  justify-content: flex-end;
  margin-top: 16px;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  text-wrap: pretty;
}

.privacy-note > span {
  flex: 0 0 auto;
  color: var(--accent-strong);
  font-size: 18px;
  line-height: 1;
}

.form-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status.is-error {
  color: #b42318;
}

.share-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 22px 28px;
  margin-top: 28px;
  padding-block: 34px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.share-copy {
  max-width: 650px;
}

.share-eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.share-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.share-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.share-actions .button svg {
  width: 17px;
  height: 17px;
}

.share-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.success-state {
  display: grid;
  min-height: 190px;
  place-items: center;
  text-align: center;
}

.success-state h2 {
  margin: 0 0 8px;
}

.success-state p {
  margin: 0 0 18px;
  color: var(--muted);
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 28px;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

/* Tap module */
.tap-page {
  background:
    radial-gradient(circle at 50% 0, rgba(14, 165, 164, 0.07), transparent 360px),
    var(--bg);
}

.tap-main {
  padding-block: 44px 28px;
}

.tap-profile {
  display: grid;
  justify-items: center;
  margin-bottom: 24px;
  text-align: center;
}

.tap-mark {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--text);
  color: var(--surface);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 14px 34px -22px rgba(17, 17, 17, 0.45);
  font-size: 28px;
  font-weight: 760;
  letter-spacing: -0.08em;
}

.tap-mark span {
  position: relative;
  transform: translateY(-1px);
}

.tap-mark span::after {
  position: absolute;
  top: 3px;
  right: -7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.tap-profile h1 {
  margin: 0 0 6px;
  font-size: clamp(34px, 9vw, 48px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.tap-profile p {
  margin: 0;
  color: var(--muted);
}

.tap-links {
  display: grid;
  gap: 12px;
}

.link-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 76px;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 18px;
  border-radius: 15px;
  background: var(--surface);
  box-shadow: var(--shadow-border);
  transition-property: box-shadow, color, scale;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}

.link-card:hover {
  color: var(--accent-dark);
  box-shadow: var(--shadow-border-hover);
}

.link-card-primary {
  min-height: 104px;
  background: var(--text);
  color: var(--surface);
  box-shadow: none;
}

.link-card-primary:hover {
  background: var(--accent-dark);
  color: var(--surface);
  box-shadow: none;
}

.link-copy strong,
.link-copy span {
  display: block;
}

.link-copy strong {
  margin-bottom: 5px;
  font-size: 18px;
}

.link-copy span {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.link-card-primary .link-copy strong {
  font-size: 25px;
}

.link-card-primary .link-copy span {
  color: rgba(255, 255, 255, 0.66);
}

.tap-section-label {
  margin: 26px 4px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.tap-feedback-button {
  width: 100%;
  margin-top: 12px;
}

.tap-feedback-panel {
  margin-top: 12px;
}

.tap-feedback-panel .feedback-form-grid {
  grid-template-columns: minmax(0, 1fr);
}

.tap-feedback-panel .form-actions .button {
  flex: 1 1 auto;
}

.tap-footer {
  justify-content: center;
  text-align: center;
}

@media (max-width: 760px) {
  .header-shell {
    min-height: 64px;
    gap: 8px;
  }

  .project-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-visual {
    min-height: 230px;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .page-main {
    padding-top: 42px;
  }

  .feedback-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .share-section {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .share-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .social-links {
    gap: 0;
  }

  .page-intro,
  .feedback-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-intro h1 {
    font-size: clamp(44px, 16vw, 64px);
  }

  .page-intro .button,
  .feedback-bar .button,
  .hero-actions .button {
    width: 100%;
  }

  .article-row {
    grid-template-columns: 84px minmax(0, 1fr);
    min-height: 104px;
    gap: 12px;
    padding-block: 14px;
  }

  .article-row .link-arrow {
    display: none;
  }

  .article-preview {
    border-radius: 9px;
  }

  .article-title {
    font-size: clamp(16px, 4.9vw, 18px);
    line-height: 1.22;
  }

  .article-meta {
    font-size: 11px;
  }

  .feedback-panel {
    padding: 18px;
  }

  .form-actions .button {
    flex: 1 1 auto;
  }

  .share-actions .button {
    flex: 1 1 calc(50% - 4px);
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 350px) {
  .brand span,
  .language-button {
    display: none;
  }

  .social-icon-link {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
