@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700&family=Noto+Serif+TC:wght@500;600;700&display=swap");
:root {
  --bg: #f6f5f0;
  --ink: #242c28;
  --muted: #747a73;
  --green: #56745d;
  --line: #d8ddd4;
  --serif: "Noto Serif TC", serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans TC", sans-serif;
  font-size: 15px;
  line-height: 1.8;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a,
button {
  transition:
    color 0.2s,
    background 0.2s,
    transform 0.25s;
}
a:hover {
  color: var(--green);
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #7c9860;
  outline-offset: 6px;
}
header,
main,
footer {
  max-width: 1320px;
  margin: auto;
  padding-left: 64px;
  padding-right: 64px;
}
header {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand span {
  font:
    11px "Noto Sans TC",
    sans-serif;
  letter-spacing: 1px;
}
nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
}
nav a {
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}
nav a[aria-current] {
  border-color: var(--green);
  color: var(--green);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.7vw, 66px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -2px;
  margin-bottom: 28px;
}
h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.65;
}
h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 4px;
}
.accent {
  color: var(--green);
}
.intro,
p {
  color: var(--muted);
}
.intro {
  line-height: 2.1;
  max-width: 590px;
  font-size: 15px;
}
.hero {
  padding: 88px 0 90px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 40px;
  align-items: center;
}
.hero-note {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 27px;
  color: var(--green);
  font-size: 13px;
}
.hero-note small {
  font-size: 10px;
  letter-spacing: 2px;
  line-height: 1.7;
}
.asterisk {
  font-size: 100px;
  font-family: serif;
  line-height: 1.2;
  display: block;
  font-weight: 400;
}
.actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
}
.button {
  padding: 13px 24px;
  border: 1px solid var(--green);
  font-size: 13px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.primary {
  background: var(--green);
  color: #fff;
}
.primary:hover {
  color: white;
  background: #344f3d;
  transform: translateY(-2px);
}
.outline {
  background: transparent;
  color: var(--green);
}
.text-link {
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.section-head h2 {
  font-size: 24px;
  margin: 0;
}
.section-head > a {
  font-size: 12px;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.project-visual {
  height: 290px;
  padding: 35px 28px 0;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  transition: transform 0.5s;
}
.sage {
  background: #dfe5db;
}
.sand {
  background: #eae4d8;
}
.lavender {
  background: #e6e5eb;
}
.project-visual img {
  width: 100%;
  height: auto;
  box-shadow: 0 10px 35px #24332513;
  display: block;
  transition: transform 0.5s;
}
.project:hover img {
  transform: translateY(-7px);
}
.project-info {
  padding: 23px 0 35px;
}
.index {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1.8px;
}
.project-name {
  display: flex;
  justify-content: space-between;
  font-family: var(--serif);
  font-size: 25px;
  margin: 8px 0;
}
.project-info p {
  font-size: 13px;
  margin-bottom: 9px;
  max-width: 450px;
}
.project-info small {
  font-size: 11px;
  color: var(--green);
}
.service-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  margin-top: 65px;
  padding: 65px 0;
  align-items: center;
}
.service-teaser h2 {
  margin: 16px 0;
}
.closing {
  margin-top: 60px;
  padding: 65px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.closing h2 {
  margin: 0;
  font-size: 34px;
}
footer {
  padding-top: 25px;
  padding-bottom: 125px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.page-heading {
  padding: 75px 0 48px;
}
.page-heading h1 {
  margin: 16px 0 25px;
}
.page-heading p {
  max-width: 600px;
}
.work-grid {
  grid-template-columns: 1fr 1fr;
}
.work-grid .project:first-child {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}
.work-grid .project:first-child .project-visual {
  height: 390px;
}
.price-section > h2 {
  font-size: 20px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
}
.price-section > h2 span {
  font: 11px sans-serif;
  color: var(--muted);
  align-self: center;
}
.price-row {
  display: grid;
  grid-template-columns: 45px 1fr auto;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  align-items: center;
}
.price-row p {
  font-size: 13px;
  margin: 0;
}
.price {
  font-family: var(--serif);
  font-size: 35px;
  color: var(--green);
  white-space: nowrap;
}
.price small,
.price span {
  font:
    12px "Noto Sans TC",
    sans-serif;
}
.price small {
  font-size: 11px;
}
.writing {
  margin-top: 65px;
}
.price-note {
  padding: 25px 0;
  font-size: 12px;
}
.price-note p {
  margin: 5px 0;
}
.contact {
  min-height: 660px;
  padding: 90px 0;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 75px;
  align-items: center;
}
.contact h1 {
  margin-top: 20px;
}
.email {
  font-size: clamp(17px, 2.3vw, 30px);
  border-bottom: 1px solid var(--green);
  padding-bottom: 8px;
  display: inline-block;
  color: var(--green);
}
.contact-note {
  background: #e7ebdf;
  padding: 36px;
}
.contact-note h2 {
  font-size: 27px;
  margin: 22px 0;
}
.contact-note .asterisk {
  font-size: 70px;
  color: var(--green);
}
.contact-note p,
.contact-note li {
  font-size: 12px;
  color: #5c665c;
}
.contact-note ul {
  padding-left: 18px;
}
.contact-note p {
  margin-bottom: 10px;
}
#copy-status {
  font-size: 12px;
  min-height: 24px;
  margin-top: 12px;
}
.skip {
  position: absolute;
  left: 10px;
  top: -80px;
  background: white;
  padding: 10px;
  z-index: 20;
}
.skip:focus {
  top: 10px;
}
main {
  animation: enter 0.65s ease both;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  header,
  main,
  footer {
    max-width: 1440px;
  }
  .hero {
    padding-top: 110px;
    padding-bottom: 110px;
  }
}
@media (max-width: 850px) {
  header,
  main,
  footer {
    padding-left: 28px;
    padding-right: 28px;
  }
  .brand span {
    display: none;
  }
  nav {
    gap: 20px;
  }
  .hero {
    grid-template-columns: 1fr 150px;
  }
  .contact {
    gap: 30px;
  }
  .price {
    font-size: 28px;
  }
  .project-visual {
    height: 240px;
  }
}
@media (max-width: 600px) {
  header,
  main,
  footer {
    padding-left: 22px;
    padding-right: 22px;
  }
  header {
    height: 105px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }
  .brand {
    font-size: 24px;
  }
  .brand span {
    display: block;
    font-size: 9px;
    letter-spacing: 0;
  }
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
  }
  nav a {
    padding: 3px 0;
  }
  h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }
  .hero {
    padding: 55px 0;
    display: block;
  }
  .hero-note {
    display: none;
  }
  .intro {
    font-size: 13px;
  }
  .intro br {
    display: none;
  }
  .actions {
    gap: 18px;
    margin-top: 25px;
  }
  .button {
    padding: 12px 17px;
    font-size: 12px;
  }
  .project-grid,
  .work-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .project-visual {
    height: 250px;
    padding: 27px 23px 0;
  }
  .project-name {
    font-size: 24px;
  }
  .project-info {
    padding: 18px 0 24px;
  }
  .section-head h2 {
    font-size: 22px;
  }
  .service-teaser {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 35px 0;
    margin-top: 35px;
  }
  .service-teaser h2 {
    font-size: 27px;
  }
  .service-teaser p {
    font-size: 13px;
  }
  .closing {
    margin-top: 25px;
    padding: 35px 0;
    gap: 20px;
    align-items: flex-start;
    flex-direction: column;
  }
  .closing h2 {
    font-size: 27px;
  }
  footer {
    flex-direction: column;
    gap: 12px;
    font-size: 10px;
  }
  .page-heading {
    padding: 45px 0 25px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .work-grid .project:first-child {
    grid-column: auto;
    display: block;
  }
  .work-grid .project:first-child .project-visual {
    height: 250px;
  }
  .price-row {
    grid-template-columns: 24px 1fr;
    gap: 14px;
    padding: 23px 0;
  }
  .price-row h3 {
    font-size: 17px;
  }
  .price-row p {
    font-size: 12px;
  }
  .price {
    grid-column: 2;
    font-size: 30px;
  }
  .price-section > h2 {
    font-size: 19px;
  }
  .writing {
    margin-top: 40px;
  }
  .contact {
    grid-template-columns: 1fr;
    padding: 45px 0;
    gap: 25px;
    min-height: 0;
  }
  .contact p {
    font-size: 13px;
  }
  .contact p br {
    display: none;
  }
  .contact-note {
    padding: 28px;
  }
  .contact-note .asterisk {
    font-size: 45px;
  }
  .contact-note h2 {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.avatar {
  display: block;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-avatar {
  width: 180px;
  height: 180px;
  border: 6px solid #e5e9df;
}
.hero-note {
  gap: 20px;
}
.contact-person {
  display: flex;
  gap: 17px;
  align-items: center;
}
.contact-person > span {
  font-family: var(--serif);
  font-size: 23px;
}
.contact-person small {
  display: block;
  font:
    10px "Noto Sans TC",
    sans-serif;
  margin-top: 5px;
  color: var(--muted);
}
.contact-social {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 22px;
}
.contact-social > p {
  font-size: 12px;
  margin-bottom: 10px;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
}
.social-links a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
}
.social-links svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.footer-identity {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer {
  align-items: flex-start;
  gap: 25px;
}
.supplied-shot {
  align-items: center;
  padding: 24px !important;
}
.supplied-shot img {
  max-height: 100%;
  width: 100%;
  object-fit: contain;
  box-shadow: none;
}
.project:hover .supplied-shot img {
  transform: none;
}
@media (max-width: 850px) {
  .hero-avatar {
    width: 145px;
    height: 145px;
  }
  .social-links {
    gap: 8px 18px;
  }
  footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 600px) {
  .editorial .hero-note {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 35px;
    gap: 18px;
  }
  .hero-avatar {
    width: 88px;
    height: 88px;
    border-width: 3px;
  }
  .hero-note > small {
    display: none;
  }
  .hero-note > span {
    font-size: 12px;
  }
  .supplied-shot {
    height: auto;
    min-height: 0;
    padding: 18px !important;
  }
  .supplied-shot img {
    max-height: none;
  }
  .social-links a {
    font-size: 12px;
  }
  .social-links {
    gap: 8px 22px;
  }
  .contact-person small {
    font-size: 10px;
  }
}
