/* ========================================
   Latest portfolio additions
   Replace this same file on every future update.
   Loaded after style.css so these rules form the final visual layer.
======================================== */

/* Five header links remain tappable without crowding the mobile cherry mark. */
.site-header nav a {
  min-width: 72px;
  padding-right: 10px;
  padding-left: 10px;
}

/* Hero: actions only, without adding a professional title. */
body:not(.inner-page) .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px clamp(24px, 3.2vw, 46px);
  margin-top: clamp(40px, 5vw, 68px);
  margin-left: clamp(92px, 16vw, 260px);
  font-family: "Jost", sans-serif;
}

body:not(.inner-page) .hero-actions a {
  position: relative;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 8px 0 10px;
  color: #285f62;
  font-size: clamp(11px, 1.05vw, 14px);
  font-weight: 400;
  letter-spacing: 0.075em;
  text-decoration: none;
  transition: color 0.28s ease, transform 0.28s ease;
}

body:not(.inner-page) .hero-actions a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, #397f82, #9bd8de);
  content: "";
  transform: scaleX(0.22);
  transform-origin: left center;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

body:not(.inner-page) .hero-actions a:hover,
body:not(.inner-page) .hero-actions a:focus-visible {
  color: #174f53;
  transform: translateX(4px);
}

body:not(.inner-page) .hero-actions a:hover::after,
body:not(.inner-page) .hero-actions a:focus-visible::after {
  transform: scaleX(1);
}

body:not(.inner-page) .hero-actions i {
  font-size: 0.92em;
  font-style: normal;
}

/* Contact becomes the last row of the shared home directory. */
body:not(.inner-page) .home-showcase-skills {
  margin-bottom: 0;
}

body:not(.inner-page) .home-showcase-contact {
  margin-bottom: clamp(110px, 13vw, 190px);
}

/* Six common destinations in the hill index. */
.footer-directory-links {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* About facts are more useful and do not expire each birthday. */
.about-facts dd {
  overflow-wrap: anywhere;
}

/* Contact: a quiet dawn page between the existing day and evening worlds. */
.contact-page {
  --inner-paper: #e7efeb;
  --inner-ink: #234947;
  --inner-copy: #365552;
  --inner-muted: #5b706c;
  --inner-line: rgba(35, 73, 71, 0.2);
  background: #c6deda;
}

.contact-page .page-shell {
  background:
    linear-gradient(
      180deg,
      #c9dfdc 0%,
      #e6ece1 32%,
      #f5ead7 68%,
      #d8e5dc 100%
    );
}

.contact-page .site-header {
  background: rgba(239, 243, 233, 0.78);
  border-bottom-color: rgba(35, 73, 71, 0.12);
}

.contact-page main {
  width: min(1080px, calc(100% - 12vw));
}

.contact-page .contact-hero {
  min-height: 0;
  margin-top: 70px;
  padding: clamp(78px, 9vw, 124px) 0 clamp(86px, 10vw, 138px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.contact-page .contact-hero::after {
  display: none;
}

.contact-kicker,
.contact-section-label,
.contact-direct span,
.contact-field label {
  color: #55716d;
  font-family: "Jost", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.contact-page .detail-title {
  margin: 18px 0 0;
  color: #315e5b !important;
  font-size: clamp(64px, 8.5vw, 112px);
  font-weight: 300;
}

.contact-page .detail-lead {
  max-width: 690px;
  margin-top: clamp(42px, 5vw, 66px);
  color: #365552;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 2;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(56px, 8vw, 112px);
  padding: clamp(72px, 9vw, 124px) 0;
  border-top: 1px solid var(--inner-line);
  border-bottom: 1px solid var(--inner-line);
}

.contact-topics {
  display: grid;
  gap: 0;
  margin-top: 28px;
  color: var(--inner-copy);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.8;
  list-style: none;
}

.contact-topics li {
  position: relative;
  padding: 14px 0 14px 22px;
  border-bottom: 1px solid rgba(35, 73, 71, 0.11);
}

.contact-topics li::before {
  position: absolute;
  top: 22px;
  left: 2px;
  width: 7px;
  height: 7px;
  background: #ee9ea9;
  border-radius: 50%;
  content: "";
}

.contact-direct {
  margin-top: 64px;
}

.contact-direct span {
  display: block;
}

.contact-direct a {
  display: inline-block;
  margin-top: 13px;
  color: #294d4b;
  font-family: "Jost", sans-serif;
  font-size: 13px;
  text-decoration-color: rgba(41, 77, 75, 0.35);
  text-underline-offset: 5px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 28px;
}

.contact-field {
  display: grid;
  gap: 11px;
}

.contact-field-wide,
.contact-consent,
.contact-submit-row,
.contact-status {
  grid-column: 1 / -1;
}

.contact-field label span {
  color: #c5727e;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 15px 2px;
  color: #294946;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(35, 73, 71, 0.27);
  border-radius: 0;
  outline: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

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

.contact-field select {
  appearance: auto;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(54, 85, 82, 0.55);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  background: rgba(255, 254, 248, 0.24);
  border-color: #4d8985;
}

.contact-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #4c6662;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.8;
}

.contact-consent input {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  accent-color: #4d8985;
}

.contact-submit-row {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
}

.contact-submit {
  position: relative;
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding: 13px 0;
  color: #245b59;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #568a87;
  border-radius: 0;
  cursor: pointer;
  font-family: "Jost", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.25s ease, padding 0.25s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  padding-right: 8px;
  color: #173f3e;
}

.contact-submit i {
  font-style: normal;
}

.contact-submit-row p {
  max-width: 310px;
  color: #687b77;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 10px;
  font-weight: 300;
  line-height: 1.75;
}

.contact-status {
  min-height: 1.8em;
  color: #416d69;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 11px;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-submit:disabled {
  color: #788b87;
  border-bottom-color: rgba(86, 138, 135, 0.35);
  cursor: wait;
}

.contact-status.is-success {
  color: #245f59;
}

.contact-status.is-error {
  color: #9b4d59;
}

.contact-status a {
  color: currentColor;
  text-underline-offset: 4px;
}

.contact-status:focus {
  outline: none;
}

.contact-page .page-next {
  margin: 72px 0 54px;
}

.contact-page footer {
  --footer-hill-top: #77978a;
  --footer-hill-bottom: #4d7068;
  --footer-hill-back: #65878a;
  --footer-hill-deep: #3b6164;
}

@media (max-width: 900px) {
  .site-header nav a {
    min-width: 62px;
    padding-right: 7px;
    padding-left: 7px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .contact-direct {
    margin-top: 42px;
  }
}

@media (max-width: 760px) {
  .footer-directory-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.inner-page) .hero-actions {
    gap: 12px 28px;
    margin-top: 34px;
    margin-left: 12vw;
  }

  body:not(.inner-page) .hero-actions a {
    font-size: 10px;
  }

  body:not(.inner-page) .home-showcase-contact {
    margin-bottom: 118px;
  }

  .about-facts > div {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .contact-page main {
    width: calc(100% - 36px);
  }

  .contact-page .contact-hero {
    margin-top: 35px;
    padding-top: 64px;
    padding-bottom: 88px;
  }

  .contact-page .detail-lead {
    font-size: 12px;
  }

  .contact-layout {
    gap: 62px;
    padding-top: 68px;
    padding-bottom: 76px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-field,
  .contact-field-wide,
  .contact-consent,
  .contact-submit-row,
  .contact-status {
    grid-column: 1;
  }

  .contact-submit-row {
    display: grid;
    justify-items: start;
  }
}

@media (max-width: 520px) {
  .site-header .header-inner {
    width: calc(100% - 20px);
  }

  .site-header .logo-cherry {
    width: 29px;
    height: 27px;
  }

  .site-header nav a {
    min-width: 0;
    padding-right: 6px;
    padding-left: 6px;
    font-size: 0.66rem;
    letter-spacing: 0.025em;
  }

  body:not(.inner-page) .hero-actions {
    display: grid;
    gap: 7px;
  }

  body:not(.inner-page) .hero-actions a {
    width: fit-content;
  }
}

/* ========================================
   Permanent creator support page
   Flat morning colors, quiet rules, no decorative background objects.
======================================== */

.support-page {
  --inner-paper: #f6f2e8;
  --inner-ink: #315653;
  --inner-copy: #405f5c;
  --inner-muted: #6c7d77;
  --inner-line: rgba(49, 86, 83, 0.2);
  background: #d9e8df;
}

.support-page .page-shell {
  background:
    linear-gradient(
      180deg,
      #d7e9e3 0%,
      #eef1dd 28%,
      #faeadf 62%,
      #f4e2df 100%
    );
}

.support-page .site-header {
  background: rgba(245, 242, 230, 0.8);
  border-bottom-color: rgba(49, 86, 83, 0.12);
}

.support-page main {
  width: min(1080px, calc(100% - 12vw));
}

.support-page .support-hero {
  min-height: 0;
  margin-top: 70px;
  padding: clamp(56px, 7vw, 82px) 0 clamp(42px, 5vw, 64px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.support-page .support-hero::after {
  display: none;
}

.support-section-label {
  color: #5e7772;
  font-family: "Jost", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.support-page .detail-title {
  margin: 0;
  color: #3b6a66 !important;
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 300;
}

.support-ways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--inner-line);
  border-bottom: 1px solid var(--inner-line);
}

.support-ways-single {
  grid-template-columns: minmax(0, 760px);
}

.support-ways-single .support-option {
  padding-right: 0;
}

.support-option {
  min-width: 0;
  padding: clamp(48px, 6vw, 72px) 0 clamp(54px, 7vw, 82px);
}

.support-option h2,
.support-information h2 {
  margin-top: 18px;
  color: var(--inner-ink);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 300;
  letter-spacing: 0.03em;
}

.support-uses > p:not(.support-section-label),
.support-policy > p:not(.support-section-label) {
  margin-top: 22px;
  color: var(--inner-copy);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.9;
}

.support-option .support-range {
  margin-top: 22px;
  color: #385f5b;
  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.support-consultation {
  max-width: 560px;
  margin-top: 16px;
  color: var(--inner-copy);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.9;
}

.support-consultation a {
  position: relative;
  color: #385f5b;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.support-consultation a::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 180ms ease;
}

.support-consultation a:hover::after,
.support-consultation a:focus-visible::after {
  transform: scaleX(1);
}

.support-action {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: 14px 22px;
  color: #315653;
  background: #efa0ad;
  border: 0;
  border-radius: 999px;
  font-family: "Jost", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.support-action i {
  font-style: normal;
  transition: transform 180ms ease;
}

.support-action:hover,
.support-action:focus-visible {
  color: #fffaf1;
  background: #356862;
}

.support-action:hover i,
.support-action:focus-visible i {
  transform: translateX(4px);
}

.support-uses .support-liberation {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  max-width: 720px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--inner-line);
}

.support-liberation strong {
  color: #c66f82;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.support-liberation span {
  color: var(--inner-copy);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.9;
}

.support-information {
  max-width: 760px;
  padding: clamp(54px, 7vw, 82px) 0;
  border-bottom: 1px solid var(--inner-line);
}

.support-policy {
  max-width: 780px;
  padding: clamp(42px, 5vw, 62px) 0;
}

.support-page .page-next {
  margin: 28px 0 54px;
}

.support-page footer {
  --footer-hill-top: #86a488;
  --footer-hill-bottom: #567866;
  --footer-hill-back: #6f9291;
  --footer-hill-deep: #3d6767;
}

@media (max-width: 760px) {
  .support-page main {
    width: calc(100% - 36px);
  }

  .support-page .support-hero {
    margin-top: 35px;
    padding-top: 48px;
    padding-bottom: 38px;
  }

  .support-ways {
    grid-template-columns: 1fr;
  }

  .support-option {
    padding: 48px 0 58px;
  }

  .support-information {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .support-uses .support-liberation {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .support-policy {
    padding-top: 40px;
    padding-bottom: 60px;
  }
}

@media (max-width: 520px) {
  .site-header nav a {
    padding-right: 4px;
    padding-left: 4px;
    font-size: 0.61rem;
  }

}
