:root {
  --ink: #4d453d;
  --sage: #91b5a6;
  --sage-dark: #648f82;
  --cream: #fffdf8;
  --line: rgba(100, 143, 130, .22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #edf5f3;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 560px;
  height: 58px;
  margin: 0 auto;
  padding: 0 18px;
  background: rgba(255, 253, 248, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.header-cta,
.image-cta,
.work-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.header-cta {
  padding: 0 17px;
  color: #fff;
  background: var(--sage-dark);
  font-size: .82rem;
  box-shadow: 0 4px 12px rgba(100, 143, 130, .2);
}

.visual-section {
  position: relative;
  width: min(100%, 560px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--cream);
}

.visual-section img {
  display: block;
  width: 100%;
  height: auto;
}

.hero { padding-top: 0; }

.image-cta {
  position: absolute;
  left: 50%;
  bottom: 5.5%;
  transform: translateX(-50%);
  width: min(78%, 380px);
  padding: 0 20px;
  color: #fff;
  background: rgba(100, 143, 130, .96);
  box-shadow: 0 7px 18px rgba(72, 99, 91, .23);
  text-align: center;
}

.contact-cta {
  bottom: 6%;
  width: min(78%, 380px);
  min-height: 56px;
  z-index: 2;
}

.image-cta:hover,
.image-cta:focus-visible,
.header-cta:hover,
.header-cta:focus-visible,
.work-link:hover,
.work-link:focus-visible {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 10px 22px rgba(72, 99, 91, .28);
}

.header-cta:hover,
.header-cta:focus-visible,
.work-link:hover,
.work-link:focus-visible { transform: translateY(-2px); }

.work-section {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 52px 24px 58px;
  color: var(--ink);
  background: linear-gradient(145deg, #fffdf8, #f2f7f2);
  text-align: center;
}

.profile-link-panel {
  padding: 42px 24px 48px;
  color: var(--ink);
  background: linear-gradient(145deg, #fffdf8, #f2f7f2);
  text-align: center;
}

.profile-window {
  margin: 0;
  padding: 18px 18px 4px;
  background: linear-gradient(145deg, #fffdf8, #eef6f4);
}

.window-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(100, 143, 130, .18);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: #fbfaf5;
}

.window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e4b95d;
}

.window-bar span:nth-child(2) { background: #b7caa1; }
.window-bar span:nth-child(3) { background: #9fc7c5; }

.address-bar {
  overflow: hidden;
  padding: 10px 14px;
  border: 1px solid rgba(100, 143, 130, .18);
  border-radius: 0 0 16px 16px;
  background: #fff;
  color: #7d8c86;
  font-size: .72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-link-panel h2 {
  margin: 0;
  font-size: clamp(1.25rem, 5vw, 1.6rem);
  line-height: 1.5;
}

.profile-link-panel p:not(.eyebrow) {
  margin: 14px auto 24px;
  font-size: .92rem;
  line-height: 1.9;
}

.profile-link-panel .availability {
  margin-top: -4px;
  color: var(--sage-dark);
  font-size: .82rem;
  line-height: 1.8;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--sage-dark);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.work-section h2 {
  margin: 0;
  font-size: clamp(1.25rem, 5vw, 1.6rem);
  line-height: 1.5;
}

.work-section p:not(.eyebrow) {
  margin: 14px auto 24px;
  font-size: .92rem;
  line-height: 1.9;
}

.work-link {
  gap: 8px;
  padding: 0 23px;
  color: #fff;
  background: var(--sage-dark);
  box-shadow: 0 7px 18px rgba(72, 99, 91, .18);
}

.contact-note {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  margin: 0;
  padding: 8px 22px 10px;
  color: #756e65;
  background: rgba(255, 253, 248, .94);
  font-size: .72rem;
  line-height: 1.7;
  text-align: center;
}

.site-footer {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 22px;
  color: #fff;
  background: var(--sage-dark);
  font-size: .85rem;
  text-align: center;
}

a:focus-visible {
  outline: 3px solid #e4b95d;
  outline-offset: 3px;
}

@media (min-width: 561px) {
  body { padding-bottom: 24px; }
  .site-header { border-radius: 0 0 16px 16px; }
  .visual-section,
  .work-section,
  .site-footer { box-shadow: 0 0 28px rgba(72, 99, 91, .08); }
}
