@charset "UTF-8";
:root {
  --paper: #f8f7f3;
  --white: #fffefa;
  --ink: #303a32;
  --muted: #7b8077;
  --green: #365f4b;
  --sage: #e8eee5;
  --line: #e3e5dc;
  --serif: Georgia, "Songti SC", "Noto Serif SC", serif;
  --radius: 16px;
  --danger: #a14338;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
textarea,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #8eac78;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
h2 {
  font-size: 1.3rem;
}
button {
  color: inherit;
}
::selection {
  background: #d9e7c8;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
}
.serif-accent {
  font-family: var(--serif);
  color: var(--green);
}
.status-dot {
  display: inline-block;
  background: #6f8b5a;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  margin-right: 8px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 0.875rem;
  line-height: 1.5;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  transform: translateY(-1px);
}
.primary {
  background: var(--green);
  color: #fff;
}
.primary:hover {
  background: #284e3c;
}
.secondary {
  background: var(--white);
  border-color: var(--line);
}
.subtle {
  background: transparent;
  color: var(--muted);
  padding: 6px 10px;
}
.subtle:hover {
  background: var(--sage);
  color: var(--green);
}
.danger {
  color: var(--danger);
}
.destructive {
  background: var(--danger);
  color: white;
}
.text-link {
  font-size: 0.875rem;
  border-bottom: 1px solid #a8b39d;
  padding: 7px 0;
}
.icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}
.icon-button:hover {
  background: var(--sage);
}
.site-header {
  height: 98px;
  margin: auto;
  max-width: 1320px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: -1.5px;
  font-weight: bold;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 34px;
  border-radius: 10px;
  background: var(--green);
  color: var(--paper);
  font-size: 1.8rem;
  line-height: 1;
  padding-bottom: 6px;
}
.brand-dot {
  align-self: flex-start;
  font: 10px sans-serif;
  margin-top: 12px;
  letter-spacing: 0;
}
.site-header nav {
  display: flex;
  gap: 34px;
  align-self: stretch;
  align-items: center;
}
.site-header nav a {
  font-size: 0.875rem;
  color: var(--muted);
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.site-header nav a[aria-current="page"] {
  color: var(--green);
  font-weight: 600;
}
.site-header nav a[aria-current="page"]:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
}
.header-note {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.site-footer {
  max-width: 1224px;
  margin: 64px auto 0;
  border-top: 1px solid var(--line);
  padding: 24px 0 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.75rem;
}
.site-footer span:first-child {
  letter-spacing: 0.1em;
}
.site-footer a {
  color: var(--green);
}
.page-main,
.home-main {
  max-width: 1224px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 0 32px;
  gap: 24px;
}
.page-heading h1 {
  font-size: 2.5rem;
  line-height: 1.4;
  letter-spacing: -0.045em;
  margin-bottom: 12px;
}
.page-heading .eyebrow {
  margin-bottom: 13px;
}
.page-heading p:last-child {
  font-size: 0.875rem;
  margin-bottom: 0;
}
.local-note {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  align-self: flex-end;
  padding-bottom: 8px;
}
.notice {
  font-size: 0.875rem;
  color: var(--green);
  margin: 0 0 12px;
}
.notice:empty {
  display: none;
}
.records-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 365px;
  gap: 28px;
  align-items: start;
}
.journal-column {
  min-width: 0;
}
.calendar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px 18px;
}
.calendar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 10px;
}
.calendar-top h2 {
  font: 1.6rem var(--serif);
  margin: 0;
}
.calendar-top .eyebrow {
  font-size: 0.65rem;
  margin-bottom: 8px;
}
.calendar-controls {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.calendar-controls .button {
  white-space: nowrap;
}
.weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}
.weekdays {
  color: var(--muted);
  text-align: center;
  font-size: 0.75rem;
  margin-bottom: 11px;
}
.calendar-day {
  border: 1px solid transparent;
  background: #f5f5ef;
  border-radius: 7px;
  min-height: 65px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  padding: 8px 10px;
  transition: background 0.15s;
  position: relative;
}
.calendar-day:hover {
  background: #e4e9dc;
}
.day-number {
  font: 1rem var(--serif);
}
.day-count {
  font-size: 0.75rem;
  align-self: flex-end;
  color: var(--green);
}
.calendar-day.has-records {
  background: #e2ead9;
}
.calendar-day[aria-pressed="true"] {
  background: var(--green);
  color: white;
}
.calendar-day[aria-pressed="true"] .day-count {
  color: #d7e5c9;
}
.calendar-day.today:not([aria-pressed="true"]) {
  border-color: var(--green);
}
.calendar-day.today:after {
  content: "";
  position: absolute;
  right: 9px;
  top: 12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.calendar-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.75rem;
  color: var(--muted);
}
.legend-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #adbf94;
  border-radius: 2px;
  margin-right: 5px;
}
.daily-section {
  margin-top: 30px;
}
.daily-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.daily-heading .eyebrow {
  margin-bottom: 5px;
  font-size: 0.65rem;
}
.daily-heading h2 {
  font-size: 1.15rem;
  display: inline;
  margin-right: 12px;
}
.daily-heading .muted {
  font-size: 0.75rem;
}
.empty-records {
  border: 1px dashed #d6dccd;
  border-radius: 12px;
  text-align: center;
  padding: 28px 18px 36px;
}
.empty-records p {
  margin: 4px 0 5px;
  font-size: 0.875rem;
}
.empty-records .muted {
  font-size: 0.75rem;
}
.empty-mark {
  font: 2rem var(--serif);
  color: #8a9b78;
}
.record-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 14px;
}
.record-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
}
.mood-label {
  background: var(--sage);
  border-radius: 5px;
  padding: 2px 8px;
  color: var(--green);
}
.record-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 16px 0;
  line-height: 1.9;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--muted);
}
.record-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 7px;
}
.record-actions .button {
  font-size: 0.75rem;
}
.assistant-card {
  background: #eff1e9;
  border: 1px solid #dce3d5;
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 24px;
}
.assistant-heading {
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #dce3d5;
}
.assistant-symbol {
  background: var(--green);
  color: white;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  width: 42px;
  height: 42px;
}
.assistant-heading h2 {
  font-size: 1rem;
  margin: 0;
}
.assistant-heading div > span {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.assistant-dot {
  width: 6px;
  height: 6px;
  background: #7c9566;
  border-radius: 50%;
  margin-left: auto;
}
.conversation {
  height: 360px;
  overflow-y: auto;
  padding: 22px;
  overscroll-behavior: contain;
}
.assistant-welcome {
  text-align: center;
  padding-top: 18px;
}
.welcome-mark {
  font-size: 2.6rem;
  color: #809773;
  font-weight: normal;
}
.assistant-welcome h3 {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-size: 1.35rem;
}
.assistant-welcome p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.9;
}
.assistant-examples {
  display: grid;
  gap: 8px;
  text-align: left;
  margin-top: 22px;
}
.assistant-examples span {
  border: 1px solid #dbe1d2;
  border-radius: 7px;
  padding: 7px 12px;
  font-size: 0.75rem;
  color: #68705e;
}
.assistant-form {
  padding: 18px;
  background: #f6f7f0;
  border-top: 1px solid #dce3d5;
}
.assistant-form > label {
  font-size: 0.75rem;
  color: var(--muted);
}
.assistant-form select {
  width: auto;
  max-width: 75%;
  display: inline;
  margin-left: 8px;
  padding: 5px 10px;
  font-size: 0.75rem;
  background: transparent;
}
.assistant-form textarea {
  background: var(--white);
  margin: 12px 0 0;
  min-height: 86px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: none;
  font-size: 0.875rem;
  padding-bottom: 0;
  resize: vertical;
}
.assistant-send-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d8ddcf;
  border-top: none;
  background: var(--white);
  border-radius: 0 0 9px 9px;
  padding: 8px 10px;
}
.assistant-send-row > span {
  font-size: 0.65rem;
  color: var(--muted);
}
.send-button {
  border: 0;
  background: var(--green);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.3rem;
}
.assistant-privacy {
  font-size: 0.65rem;
  color: var(--muted);
  margin: 12px 1px 0;
  line-height: 1.7;
}
.chat-message {
  font-size: 0.875rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 14px;
}
.chat-message p {
  margin: 8px 0 0;
}
.user-message {
  background: #dfe8d4;
  margin-left: 24px;
}
.assistant-message {
  background: var(--white);
}
.message-label {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--green);
}
.draft-preview {
  padding: 10px;
  background: var(--paper);
  border-left: 2px solid #9cac89;
}
.assistant-message .button {
  font-size: 0.75rem;
  margin-top: 12px;
}
.error-message {
  color: var(--danger);
  font-size: 0.875rem;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 30px;
  width: min(560px, calc(100% - 32px));
  max-height: 90dvh;
  overflow: auto;
  color: var(--ink);
  box-shadow: 0 24px 100px #21301d22;
}
dialog::backdrop {
  background: #222c2459;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin-bottom: 22px;
}
label {
  font-size: 0.875rem;
  display: block;
  color: var(--ink);
}
input,
textarea,
select {
  border: 1px solid #d8ddcf;
  background: var(--white);
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
  color: var(--ink);
  min-width: 0;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #a6b596;
  outline-offset: 1px;
}
textarea {
  resize: vertical;
  display: block;
  line-height: 1.7;
}
label input {
  margin-top: 7px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 18px 0;
}
.form-row label {
  min-width: 0;
}
#record-text {
  margin-top: 7px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.delete-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 180px;
  overflow: auto;
  background: var(--paper);
  padding: 14px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  padding: 10px;
  background: white;
  z-index: 10;
}
.skip-link:focus {
  top: 10px;
}
.home-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  min-height: 650px;
  gap: 40px;
}
.home-copy {
  padding: 50px 0;
}
.tiny-line {
  width: 24px;
  height: 1px;
  background: var(--green);
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}
.intro-name {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 35px;
  margin-bottom: 14px;
}
.home-copy h1 {
  font-size: 4.2rem;
  letter-spacing: -0.055em;
  line-height: 1.35;
  margin-bottom: 20px;
}
.home-intro {
  color: var(--muted);
  max-width: 400px;
  line-height: 2;
}
.hero-actions {
  display: flex;
  gap: 27px;
  align-items: center;
  margin-top: 30px;
}
.social-block {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 42px;
}
.social-block > span {
  font-size: 0.75rem;
  color: var(--muted);
}
.social-links {
  display: flex;
  gap: 9px;
}
.social-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #cdd4c4;
  border-radius: 50%;
  font-size: 0.875rem;
}
.social-icon.unconfigured {
  color: #939c89;
}
.paper-scene {
  height: 440px;
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse, #e6e9d947, transparent 70%);
}
.paper {
  position: absolute;
  width: 300px;
  height: 365px;
  border: 1px solid #dfe3d3;
  background: #fdfcf5;
  box-shadow: 0 10px 20px #34482908;
}
.paper-back {
  transform: rotate(-10deg);
  background: #e7ebdd;
  left: 16%;
  top: 30px;
}
.paper-front {
  transform: rotate(5deg);
  padding: 27px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.paper-index {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  align-self: flex-start;
}
.drawn-sun {
  width: 97px;
  height: 97px;
  border: 1px solid #a6b291;
  border-radius: 50%;
  margin-top: 35px;
  position: relative;
}
.drawn-sun:before,
.drawn-sun:after {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  top: 48%;
  height: 1px;
  background: #bcc6ac;
  transform: rotate(-35deg);
}
.drawn-sun:after {
  transform: rotate(40deg);
}
.drawn-sun i {
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: #e2e7ce;
  border: 1px solid #a6b291;
}
.paper-front p {
  font: 1.35rem/1.9 var(--serif);
  margin-top: 19px;
  align-self: flex-start;
  z-index: 1;
}
.paper-rule {
  height: 1px;
  background: #d8ddcf;
  width: 100%;
  margin-top: auto;
}
.paper-signature {
  font: italic 0.85rem var(--serif);
  align-self: flex-start;
  margin-top: 13px;
  color: var(--green);
}
.paper-number {
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  align-self: flex-end;
  margin-top: 8px;
  color: var(--muted);
}
.scene-caption {
  position: absolute;
  bottom: -6px;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.home-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  gap: 44px;
}
.home-bottom h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.home-bottom p:last-child {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.9;
}
.home-entry {
  border-left: 1px solid var(--line);
  padding-left: 36px;
}
.home-entry h2 span {
  float: right;
  color: var(--green);
}
.home-entry:hover h2 {
  color: var(--green);
}
.portfolio-heading {
  padding-top: 65px;
}
.portfolio-heading h1 {
  font-size: 3.2rem;
}
.folio-index {
  font: italic 1.1rem/1.6 var(--serif);
  color: var(--green);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.portfolio-empty {
  grid-column: 1/-1;
  border: 1px dashed #d1d8c7;
  border-radius: 14px;
  min-height: 420px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 20px;
}
.portfolio-empty h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.portfolio-empty .eyebrow {
  font-size: 0.65rem;
  margin-bottom: 15px;
}
.empty-art {
  position: relative;
  width: 90px;
  height: 85px;
  margin-bottom: 28px;
}
.empty-art span {
  position: absolute;
  inset: 8px 20px 8px 10px;
  border: 1px solid #9aab88;
  transform: rotate(-12deg);
  background: #e4e9d9;
}
.empty-art i {
  position: absolute;
  inset: 14px 8px 0 25px;
  border: 1px solid #a7b694;
  transform: rotate(8deg);
  background: #f8faf2;
}
.project-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.project-card img,
.project-card video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 12px;
}
.project-card details p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-top: 15px;
}
.project-card summary {
  cursor: pointer;
  color: var(--green);
  font-size: 0.875rem;
}
@media (min-width: 1400px) {
  .records-layout {
    grid-template-columns: minmax(0, 1fr) 385px;
    gap: 32px;
  }
  .calendar-day {
    min-height: 72px;
  }
}
@media (max-width: 1320px) {
  .page-main,
  .home-main {
    margin: 0 48px;
  }
  .site-footer {
    margin-left: 48px;
    margin-right: 48px;
  }
}
@media (max-width: 1000px) {
  .site-header {
    gap: 36px;
    padding: 0 28px;
  }
  .header-note {
    display: none;
  }
  .page-main,
  .home-main {
    margin: 0 28px;
  }
  .site-footer {
    margin-left: 28px;
    margin-right: 28px;
  }
  .records-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
  }
  .calendar-card {
    padding: 22px 18px 16px;
  }
  .calendar-day {
    padding: 7px;
    min-height: 56px;
  }
  .calendar-grid {
    gap: 5px;
  }
  .calendar-bottom {
    font-size: 0.65rem;
  }
  .home-copy h1 {
    font-size: 3.25rem;
  }
  .paper {
    width: 250px;
    height: 340px;
  }
  .home-hero {
    gap: 15px;
    min-height: 600px;
  }
  .hero-actions {
    gap: 18px;
  }
  .home-bottom {
    gap: 24px;
  }
  .home-entry {
    padding-left: 24px;
  }
  .local-note {
    display: none;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 78px;
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
  }
  .site-header nav {
    gap: 22px;
  }
  .brand {
    font-size: 1.6rem;
  }
  .brand-mark {
    width: 27px;
    height: 30px;
    font-size: 1.6rem;
  }
  .brand-dot {
    display: none;
  }
  .page-main,
  .home-main {
    margin: 0 20px;
  }
  .page-heading {
    padding: 34px 0 26px;
  }
  .page-heading h1 {
    font-size: 2rem;
  }
  .page-heading .eyebrow {
    font-size: 0.65rem;
  }
  .records-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .assistant-card {
    position: static;
  }
  .conversation {
    height: 300px;
  }
  .calendar-card {
    padding: 22px 18px 16px;
  }
  .calendar-day {
    min-height: 60px;
  }
  .calendar-top h2 {
    font-size: 1.3rem;
  }
  .calendar-top .eyebrow {
    display: none;
  }
  .calendar-controls {
    gap: 4px;
  }
  .calendar-controls .button {
    padding: 6px 8px;
  }
  .daily-heading h2 {
    display: block;
    margin: 0;
  }
  .daily-heading .eyebrow {
    margin-bottom: 4px;
  }
  .site-footer {
    margin: 40px 20px 0;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.65rem;
  }
  .site-footer a {
    margin-left: auto;
  }
  .site-footer span:nth-child(2) {
    display: none;
  }
  .home-hero {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .home-copy {
    padding: 40px 0 10px;
  }
  .home-copy h1 {
    font-size: 3.6rem;
  }
  .intro-name {
    margin-top: 28px;
  }
  .social-block {
    margin-top: 30px;
  }
  .paper-scene {
    height: 420px;
  }
  .paper {
    width: 270px;
    height: 340px;
  }
  .paper-back {
    left: calc(50% - 150px);
  }
  .scene-caption {
    bottom: 12px;
  }
  .home-bottom {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 25px;
    margin-top: 25px;
  }
  .home-entry {
    padding: 22px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .home-bottom .eyebrow {
    margin-bottom: 10px;
  }
  .portfolio-heading h1 {
    font-size: 2.8rem;
  }
  .folio-index {
    display: none;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-empty {
    min-height: 380px;
  }
  .form-row {
    gap: 12px;
  }
  dialog {
    padding: 24px;
  }
  .assistant-form > label {
    font-size: 0.875rem;
  }
  .assistant-privacy {
    font-size: 0.75rem;
  }
  .assistant-send-row > span {
    font-size: 0.75rem;
  }
  .message-label {
    font-size: 0.75rem;
  }
}
@media (max-width: 380px) {
  .site-header {
    padding: 0 14px;
    gap: 10px;
  }
  .site-header nav {
    gap: 16px;
  }
  .site-header nav a {
    font-size: 0.8rem;
  }
  .page-main,
  .home-main {
    margin: 0 14px;
  }
  .calendar-card {
    padding: 18px 12px 14px;
  }
  .calendar-day {
    min-height: 52px;
    padding: 6px;
  }
  .calendar-controls {
    gap: 4px;
  }
  .calendar-top h2 {
    font-size: 1.2rem;
  }
  .calendar-controls .icon-button {
    width: 32px;
    height: 34px;
  }
  .portfolio-heading h1 {
    font-size: 2.3rem;
  }
  .calendar-grid {
    gap: 4px;
  }
  .home-copy h1 {
    font-size: 3.2rem;
  }
  .hero-actions {
    gap: 14px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .calendar-bottom {
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
