/*
Theme Name: Quiet Gold Business
Theme URI: https://example.com/quiet-gold-business
Author: OpenAI
Description: 白と淡いベージュ、繊細なゴールドを基調にした個人事業主向けWordPressテーマです。
Version: 1.0.14
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: quiet-gold-business
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

:root {
  --qg-white: #fff;
  --qg-paper: #fbfaf8;
  --qg-cream: #f3eee7;
  --qg-ink: #4a4745;
  --qg-muted: #817b77;
  --qg-gold: #caa66b;
  --qg-gold-deep: #a98249;
  --qg-line: rgba(169, 130, 73, .25);
  --qg-shadow: 0 18px 55px rgba(72, 63, 55, .1);
  --qg-serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS明朝E", serif;
  --qg-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --qg-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--qg-ink);
  background: var(--qg-paper);
  font-family: var(--qg-sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--qg-gold-deep); }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: #fff;
  color: #222;
}

.qg-container { width: min(calc(100% - 40px), var(--qg-width)); margin-inline: auto; }
.qg-narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.qg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--qg-gold-deep);
  font-family: Georgia, serif;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.qg-kicker::before { content: ""; width: 34px; height: 1px; background: var(--qg-gold); }
.qg-section { padding: 104px 0; }
.qg-section-title {
  margin: 0;
  font-family: var(--qg-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .08em;
}
.qg-section-lead { max-width: 680px; margin: 24px 0 0; color: var(--qg-muted); }

/* Header */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(251, 250, 248, .92);
  border-bottom: 1px solid rgba(169, 130, 73, .12);
  backdrop-filter: blur(16px);
}
.site-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-branding { min-width: 0; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { max-height: 54px; width: auto; }
.qg-default-logo { display: flex; align-items: center; }
.qg-default-logo img { display: block; width: auto; max-width: 250px; max-height: 52px; }
.site-title {
  margin: 0;
  font-family: var(--qg-serif);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: .12em;
}
.site-description { margin: 1px 0 0; color: var(--qg-muted); font-size: .72rem; letter-spacing: .12em; }
.primary-menu { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.primary-menu a { position: relative; display: block; padding: 8px 0; font-size: .86rem; letter-spacing: .08em; }
.primary-menu a::after { content: ""; position: absolute; right: 0; bottom: 1px; left: 0; height: 1px; background: var(--qg-gold); transform: scaleX(0); transition: transform .25s ease; }
.primary-menu a:hover::after, .primary-menu .current-menu-item > a::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--qg-line); border-radius: 50%; background: #fff; color: var(--qg-ink); }

/* Hero */
.qg-hero { position: relative; overflow: hidden; min-height: 720px; display: grid; align-items: center; background: linear-gradient(135deg, #faf7f2 0%, #fff 42%, #f5f1eb 100%); }
.qg-hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -150px;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(202, 166, 107, .45);
  border-radius: 48% 52% 63% 37% / 44% 36% 64% 56%;
  transform: rotate(22deg);
}
.qg-hero::after {
  content: "";
  position: absolute;
  bottom: -330px;
  left: -250px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 204, 172, .28), transparent 68%);
}
.qg-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 70px; align-items: center; padding-block: 96px; }
.qg-hero__title { max-width: 760px; margin: 0; font-family: var(--qg-serif); font-size: clamp(2.5rem, 4.3vw, 4.3rem); font-weight: 400; line-height: 1.35; letter-spacing: .05em; }
.qg-hero__title em { color: var(--qg-gold-deep); font-family: Georgia, var(--qg-serif); font-weight: 400; font-style: italic; }
.qg-hero__heading { max-width: 680px; margin: 28px 0 0; font-family: var(--qg-sans); font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 600; line-height: 1.8; letter-spacing: .06em; }
.qg-hero__copy { max-width: 620px; margin: 16px 0 0; color: var(--qg-muted); line-height: 2.1; }
.qg-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.qg-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 28px;
  border: 1px solid var(--qg-gold-deep);
  background: var(--qg-gold-deep);
  color: #fff;
  font-size: .9rem;
  letter-spacing: .08em;
  transition: .25s ease;
}
.qg-button::after { content: "\2192"; font-size: 1.1em; }
.qg-button:hover { background: transparent; color: var(--qg-gold-deep); }
.qg-button--ghost { background: transparent; color: var(--qg-gold-deep); }
.qg-button--ghost:hover { background: var(--qg-gold-deep); color: #fff; }
.qg-hero__visual { position: relative; min-height: 480px; margin: 0; overflow: hidden; background: #fff; box-shadow: var(--qg-shadow); }
.qg-hero__visual::after { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(255, 255, 255, .58); pointer-events: none; }
.qg-hero__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.qg-hero__visual-note { position: absolute; z-index: 1; right: 26px; bottom: 26px; left: 26px; padding: 20px 24px; border-left: 2px solid var(--qg-gold); background: rgba(255, 255, 255, .88); box-shadow: 0 10px 30px rgba(72, 63, 55, .1); backdrop-filter: blur(10px); }
.qg-hero__visual-note span { display: block; margin-bottom: 7px; color: var(--qg-gold-deep); font-family: Georgia, serif; font-size: .68rem; letter-spacing: .2em; }
.qg-hero__visual-note strong { font-family: var(--qg-serif); font-size: 1.18rem; font-weight: 400; line-height: 1.6; letter-spacing: .06em; }

/* Home sections */
.qg-pains { position: relative; background: var(--qg-paper); }
.qg-pains__head { max-width: 760px; margin: 0 auto; text-align: center; }
.qg-pains__head .qg-kicker { justify-content: center; }
.qg-pains__head > p:last-child { margin: 24px 0 0; color: var(--qg-muted); }
.qg-pains__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; max-width: 1080px; margin: 52px auto 0; padding: 0; background: transparent; list-style: none; }
.qg-pains__list li { display: flex; grid-column: span 2; min-height: 390px; flex-direction: column; padding: 24px 24px 30px; background: #fff; border: 1px solid var(--qg-line); }
.qg-pains__list li:nth-child(4) { grid-column: 2 / span 2; }
.qg-pains__list li:nth-child(5) { grid-column: 4 / span 2; }
.qg-pains__illustration { width: 100%; height: 200px; margin-bottom: 18px; object-fit: contain; }
.qg-pains__list span { display: block; margin-bottom: 10px; color: var(--qg-gold); font-family: Georgia, serif; font-size: .78rem; letter-spacing: .14em; }
.qg-pains__list p { margin: 0; color: var(--qg-muted); line-height: 1.9; }
.qg-pains__list strong { color: var(--qg-ink); font-weight: 600; }
.qg-pains__message { max-width: 780px; margin: 42px auto 0; color: var(--qg-ink); font-family: var(--qg-serif); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.9; letter-spacing: .05em; text-align: center; }
.qg-mobile-break { display: none; }
.qg-services { background: var(--qg-cream); }
.qg-services__head { display: flex; justify-content: space-between; gap: 48px; align-items: end; }
.qg-services .qg-section-title { font-size: clamp(1.85rem, 3.2vw, 2.75rem); }
.qg-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.qg-service-card { position: relative; min-height: 330px; padding: 42px 34px; overflow: hidden; background: #fff; border: 1px solid rgba(169, 130, 73, .12); transition: transform .25s ease, box-shadow .25s ease; }
.qg-service-card:hover { transform: translateY(-5px); box-shadow: var(--qg-shadow); }
.qg-service-card__icon { display: block; width: 48px; height: 48px; margin-bottom: 26px; fill: none; stroke: var(--qg-gold-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.qg-service-card__number { color: var(--qg-gold); font-family: Georgia, serif; font-size: .75rem; letter-spacing: .18em; }
.qg-service-card h3 { margin: 24px 0 18px; font-family: var(--qg-serif); font-size: 1.5rem; font-weight: 400; letter-spacing: .06em; }
.qg-service-card p { margin: 0; color: var(--qg-muted); font-size: .92rem; }
.qg-service-card::after { content: ""; position: absolute; right: -48px; bottom: -78px; width: 160px; height: 160px; border: 1px solid var(--qg-line); border-radius: 50%; }
.qg-trial { background: #f9f6f1; }
.qg-trial__grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 86px; align-items: center; }
.qg-trial__intro > p:last-child { margin: 28px 0 0; color: var(--qg-muted); }
.qg-trial__card { display: grid; grid-template-columns: .86fr 1.14fr; overflow: hidden; background: #fff; border: 1px solid var(--qg-line); box-shadow: var(--qg-shadow); }
.qg-trial__plan { display: flex; min-height: 350px; flex-direction: column; justify-content: center; padding: 44px 38px; background: #5b5651; color: #fff; text-align: center; }
.qg-trial__plan > span { color: #e8cca0; font-family: Georgia, serif; font-size: .72rem; letter-spacing: .2em; }
.qg-trial__plan h3 { margin: 24px 0 0; font-family: var(--qg-serif); font-size: 1.35rem; font-weight: 400; letter-spacing: .06em; }
.qg-trial__price { margin: 12px 0 0; line-height: 1.2; }
.qg-trial__price strong { color: #f0d3a5; font-family: Georgia, serif; font-size: clamp(2.7rem, 5vw, 4rem); font-weight: 400; }
.qg-trial__price span { display: block; margin-top: 8px; color: rgba(255, 255, 255, .72); font-size: .82rem; }
.qg-trial__details { padding: 42px 38px; }
.qg-trial__details > p { margin: 0; color: var(--qg-muted); }
.qg-trial__after { margin: 26px 0 30px; padding: 22px 0; border-top: 1px solid var(--qg-line); border-bottom: 1px solid var(--qg-line); }
.qg-trial__after span { color: var(--qg-gold-deep); font-size: .76rem; font-weight: 600; letter-spacing: .12em; }
.qg-trial__after p { margin: 8px 0 0; color: var(--qg-muted); font-size: .9rem; }
.qg-profile { background: #fff; }
.qg-profile__grid { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr); gap: 88px; align-items: center; }
.qg-profile__visual { position: relative; min-height: 480px; display: grid; place-items: center; padding: 24px; background: linear-gradient(145deg, #efe7dc, #faf8f5); }
.qg-profile__visual::before, .qg-profile__visual::after { content: ""; position: absolute; border: 1px solid var(--qg-gold); }
.qg-profile__visual::before { inset: 28px -18px -18px 28px; }
.qg-profile__visual::after { width: 180px; height: 300px; border-radius: 50%; transform: rotate(24deg); opacity: .35; }
.qg-profile__visual img { position: relative; z-index: 1; width: 100%; height: 430px; object-fit: contain; }
.qg-profile__initial { position: relative; z-index: 1; color: var(--qg-gold-deep); font-family: Georgia, serif; font-size: 8rem; font-style: italic; opacity: .72; }
.qg-profile__content p { color: var(--qg-muted); }
.qg-profile .qg-section-title { font-size: clamp(1.85rem, 3.2vw, 2.5rem); }
.qg-wealth { overflow: hidden; background: #eee8df; }
.qg-wealth__grid { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 94px; align-items: center; }
.qg-wealth__visual { position: relative; min-height: 470px; display: grid; place-items: center; background: rgba(255, 255, 255, .56); }
.qg-wealth__visual::before { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(169, 130, 73, .28); }
.qg-wealth__orbit { position: absolute; border: 1px solid var(--qg-gold); border-radius: 50%; }
.qg-wealth__orbit--outer { width: 290px; height: 290px; opacity: .48; }
.qg-wealth__orbit--outer::before, .qg-wealth__orbit--outer::after { content: ""; position: absolute; background: var(--qg-gold); }
.qg-wealth__orbit--outer::before { top: 50%; right: -38px; left: -38px; height: 1px; }
.qg-wealth__orbit--outer::after { top: -38px; bottom: -38px; left: 50%; width: 1px; }
.qg-wealth__orbit--inner { width: 190px; height: 190px; border-style: dashed; opacity: .42; transform: rotate(25deg); }
.qg-wealth__letter { position: relative; z-index: 1; color: var(--qg-gold-deep); font-family: Georgia, serif; font-size: 7rem; font-style: italic; line-height: 1; }
.qg-wealth__eyebrow { margin: 0 0 16px; color: var(--qg-gold-deep); font-size: .9rem; font-weight: 600; letter-spacing: .08em; }
.qg-wealth .qg-section-title { font-size: clamp(1.85rem, 3.2vw, 2.75rem); }
.qg-wealth__content > p:not(.qg-kicker, .qg-wealth__eyebrow) { color: var(--qg-muted); }
.qg-wealth__points { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; padding: 0; list-style: none; }
.qg-wealth__points li { padding: 8px 14px; border: 1px solid rgba(169, 130, 73, .35); background: rgba(255, 255, 255, .58); color: var(--qg-ink); font-size: .82rem; }
.qg-posts { background: var(--qg-paper); }
.qg-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.qg-post-card { background: #fff; box-shadow: 0 10px 35px rgba(72, 63, 55, .06); }
.qg-post-card__thumb { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #eee7dd, #faf8f4); }
.qg-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.qg-post-card:hover img { transform: scale(1.03); }
.qg-post-card__content { padding: 28px; }
.qg-post-card__meta { color: var(--qg-gold-deep); font-family: Georgia, serif; font-size: .75rem; letter-spacing: .12em; }
.qg-post-card h3 { margin: 12px 0 0; font-family: var(--qg-serif); font-size: 1.2rem; font-weight: 400; line-height: 1.7; }
.qg-contact { position: relative; overflow: hidden; padding: 105px 0; background: #5b5651; color: #fff; text-align: center; }
.qg-contact::before { content: ""; position: absolute; inset: -220px auto auto 50%; width: 600px; height: 600px; border: 1px solid rgba(255,255,255,.16); border-radius: 48%; transform: translateX(-50%) rotate(28deg); }
.qg-contact__inner { position: relative; z-index: 1; }
.qg-contact .qg-kicker { color: #e8cca0; }
.qg-contact .qg-kicker::before { background: #e8cca0; }
.qg-contact p { max-width: 640px; margin: 24px auto 0; color: rgba(255,255,255,.75); }
.qg-contact .qg-button { margin-top: 34px; border-color: #e8cca0; background: #e8cca0; color: #4e4945; }
.qg-contact .qg-button:hover { background: transparent; color: #fff; }

/* Content */
.qg-page-header { padding: 95px 0 70px; background: linear-gradient(135deg, #f5f0e9, #fff); text-align: center; }
.qg-page-header h1 { margin: 0; font-family: var(--qg-serif); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 400; letter-spacing: .08em; }
.qg-page-header p { margin: 15px 0 0; color: var(--qg-muted); }
.qg-content { padding: 80px 0 110px; }
.entry-content > * { max-width: 780px; margin-right: auto; margin-left: auto; }
.entry-content > .alignwide { max-width: 1100px; }
.entry-content > .alignfull { max-width: none; }
.entry-content h2, .entry-content h3 { font-family: var(--qg-serif); font-weight: 400; letter-spacing: .05em; }
.entry-content h2 { margin-top: 2.5em; padding-bottom: .45em; border-bottom: 1px solid var(--qg-line); font-size: 1.75rem; }
.entry-content h3 { margin-top: 2em; font-size: 1.35rem; }
.entry-content a { color: var(--qg-gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { padding: 18px 26px; border-left: 2px solid var(--qg-gold); background: var(--qg-cream); }
.entry-content .wp-block-button__link { border-radius: 0; background: var(--qg-gold-deep); }
.qg-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-navigation, .posts-navigation, .navigation.pagination { margin-top: 56px; }
.nav-links { display: flex; justify-content: space-between; gap: 20px; }
.page-numbers { display: inline-grid; min-width: 42px; height: 42px; place-items: center; padding: 0 10px; border: 1px solid var(--qg-line); background: #fff; }
.page-numbers.current { background: var(--qg-gold-deep); color: #fff; }
.comments-area { margin-top: 64px; padding-top: 44px; border-top: 1px solid var(--qg-line); }
.comment-list { padding-left: 0; list-style: none; }
.comment-body { margin: 0 0 24px; padding: 24px; background: #fff; }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea, select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #d8d0c6;
  border-radius: 0;
  background: #fff;
  color: var(--qg-ink);
}
input[type="submit"], button[type="submit"] { padding: 13px 24px; border: 1px solid var(--qg-gold-deep); background: var(--qg-gold-deep); color: #fff; cursor: pointer; }
.wpcf7-form .qg-form-label {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--qg-ink);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .035em;
}

/* Skills and tools page */
.qg-skills-hero { position: relative; overflow: hidden; padding: 92px 0 84px; background: linear-gradient(135deg, #f8f3ec 0%, #fff 58%, #f3eee7 100%); }
.qg-skills-hero::after { content: ""; position: absolute; top: -270px; right: -160px; width: 610px; height: 610px; border: 1px solid rgba(202, 166, 107, .42); border-radius: 49% 51% 42% 58% / 55% 42% 58% 45%; transform: rotate(18deg); }
.qg-skills-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); gap: 48px; align-items: center; }
.qg-skills-hero__copy { min-width: 0; }
.qg-skills-hero__title { max-width: 690px; margin: 0; font-family: var(--qg-serif); font-size: clamp(2.2rem, 3.45vw, 3.4rem); font-weight: 400; line-height: 1.5; letter-spacing: .045em; }
.qg-skills-hero__lead { max-width: 710px; margin: 28px 0 0; color: var(--qg-muted); font-size: 1.05rem; line-height: 2.1; }
.qg-skills-hero__visual { position: relative; z-index: 1; margin: 0; }
.qg-skills-hero__visual::before { content: ""; position: absolute; z-index: -1; inset: 9% 5% 7% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(229, 214, 191, .7), rgba(245, 239, 230, .15) 68%, transparent 70%); }
.qg-skills-hero__visual img { display: block; width: 100%; max-height: 540px; object-fit: contain; }
.qg-skills-heading { max-width: 760px; }
.qg-skill-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 54px; }
.qg-skill-card { position: relative; overflow: hidden; min-height: 500px; padding: 42px 34px 38px; border: 1px solid var(--qg-line); background: #fff; }
.qg-skill-card::after { content: ""; position: absolute; right: -70px; bottom: -100px; width: 190px; height: 190px; border: 1px solid rgba(202, 166, 107, .2); border-radius: 50%; }
.qg-skill-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 46px; }
.qg-skill-card__number { display: block; color: var(--qg-gold); font-family: Georgia, serif; font-size: .78rem; letter-spacing: .18em; }
.qg-skill-card__icon { display: grid; width: 62px; height: 62px; place-items: center; border: 1px solid var(--qg-line); border-radius: 50%; background: #fdfaf6; color: var(--qg-gold-deep); }
.qg-skill-card__icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.qg-skill-card h3 { margin: 0; font-family: var(--qg-serif); font-size: 1.42rem; font-weight: 400; line-height: 1.65; letter-spacing: .05em; }
.qg-skill-card > p { margin: 18px 0 0; color: var(--qg-muted); font-size: .92rem; line-height: 1.9; }
.qg-skill-card ul { position: relative; z-index: 1; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--qg-line); list-style: none; }
.qg-skill-card li { position: relative; margin-top: 9px; padding-left: 20px; font-size: .9rem; }
.qg-skill-card li::before { content: ""; position: absolute; top: .88em; left: 0; width: 8px; height: 1px; background: var(--qg-gold); }
.qg-use-scenes { padding: 94px 0 102px; background: #fff; }
.qg-use-scenes .qg-container { display: grid; grid-template-columns: minmax(250px, .6fr) minmax(0, 1.4fr); gap: 78px; align-items: start; }
.qg-use-scenes__heading { position: sticky; top: 125px; }
.qg-use-scenes__grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--qg-line); border-left: 1px solid var(--qg-line); }
.qg-use-scene { min-height: 270px; padding: 32px 30px; border-right: 1px solid var(--qg-line); border-bottom: 1px solid var(--qg-line); background: var(--qg-paper); }
.qg-use-scene > span { color: var(--qg-gold); font-family: Georgia, serif; font-size: .7rem; letter-spacing: .16em; }
.qg-use-scene h3 { margin: 34px 0 0; font-family: var(--qg-serif); font-size: 1.08rem; font-weight: 400; line-height: 1.8; letter-spacing: .035em; }
.qg-use-scene p { margin: 14px 0 0; color: var(--qg-muted); font-size: .84rem; line-height: 1.9; }
.qg-tools { background: #eee7de; }
.qg-tools__intro { display: flex; justify-content: space-between; gap: 60px; align-items: end; }
.qg-tools__intro > p { max-width: 520px; margin: 0 0 4px; color: var(--qg-muted); line-height: 2; }
.qg-tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 58px; background: rgba(169, 130, 73, .22); border: 1px solid rgba(169, 130, 73, .22); }
.qg-tool-group { min-height: 260px; padding: 36px 38px; background: var(--qg-paper); }
.qg-tool-group__head { display: flex; gap: 20px; align-items: flex-start; }
.qg-tool-group__icon { display: grid; flex: 0 0 52px; width: 52px; height: 52px; place-items: center; border: 1px solid var(--qg-line); border-radius: 50%; background: #fff; color: var(--qg-gold-deep); }
.qg-tool-group__icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.qg-tool-group h3 { margin: 0; font-family: var(--qg-serif); font-size: 1.3rem; font-weight: 400; letter-spacing: .06em; }
.qg-tool-group__head p { margin: 4px 0 0; color: var(--qg-muted); font-size: .78rem; }
.qg-tool-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 27px 0 0; padding: 0; list-style: none; }
.qg-tool-tags li { padding: 6px 13px; border: 1px solid var(--qg-line); background: #fff; color: #665f5a; font-size: .78rem; letter-spacing: .03em; }
.qg-work-examples { background: #fff; }
.qg-work-examples__layout { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 90px; align-items: start; }
.qg-work-examples__heading { position: sticky; top: 130px; }
.qg-work-examples__heading > p:last-child { margin: 28px 0 0; color: var(--qg-muted); }
.qg-work-examples__list { border-top: 1px solid var(--qg-line); }
.qg-work-example { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding: 30px 4px; border-bottom: 1px solid var(--qg-line); }
.qg-work-example > span { padding-top: 3px; color: var(--qg-gold); font-family: Georgia, serif; font-size: .72rem; letter-spacing: .12em; }
.qg-work-example h3 { margin: 0; font-family: var(--qg-serif); font-size: 1.22rem; font-weight: 400; letter-spacing: .04em; }
.qg-work-example p { margin: 8px 0 0; color: var(--qg-muted); font-size: .9rem; }
.qg-skills-cta { position: relative; overflow: hidden; padding: 106px 0; background: #4a4541; color: #fff; text-align: center; }
.qg-skills-cta::after { content: ""; position: absolute; inset: -300px auto auto 50%; width: 760px; height: 760px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 46%; transform: translateX(-50%) rotate(24deg); }
.qg-skills-cta .qg-narrow { position: relative; z-index: 1; }
.qg-skills-cta .qg-kicker { color: #e8cca0; }
.qg-skills-cta .qg-kicker::before { background: #e8cca0; }
.qg-skills-cta h2 { margin: 0; font-family: var(--qg-serif); font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 400; line-height: 1.55; letter-spacing: .06em; }
.qg-skills-cta p:not(.qg-kicker) { max-width: 650px; margin: 26px auto 34px; color: rgba(255, 255, 255, .72); }
.qg-skills-cta .qg-button { border-color: #e8cca0; background: #e8cca0; color: #4a4541; }
.qg-skills-cta .qg-button:hover { background: transparent; color: #fff; }

/* Footer */
.site-footer { padding: 58px 0 30px; background: #3f3b38; color: rgba(255,255,255,.78); }
.site-footer__top { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 90px; align-items: start; padding-bottom: 50px; }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__logo { display: block; }
.site-footer__logo img { display: block; width: auto; max-width: 285px; max-height: 68px; filter: brightness(0) invert(1); }
.site-footer__contact-button { margin-top: 28px; border-color: #e8cca0; background: #e8cca0; color: #4e4945; }
.site-footer__contact-button:hover { border-color: #e8cca0; background: transparent; color: #fff; }
.site-footer__nav-label { margin: 0 0 22px; color: #e8cca0; font-family: Georgia, serif; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.footer-menu { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 16px 30px; margin: 0; padding: 0; list-style: none; font-size: .86rem; }
.footer-menu a { display: inline-block; padding: 4px 0; color: rgba(255,255,255,.8); }
.footer-menu a:hover { color: #e8cca0; }
.site-footer__bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .72rem; letter-spacing: .06em; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .main-navigation { display: none; position: absolute; top: 82px; right: 0; left: 0; padding: 20px; background: rgba(251,250,248,.98); border-bottom: 1px solid var(--qg-line); }
  .main-navigation.is-open { display: block; }
  .primary-menu { display: block; }
  .primary-menu a { padding: 12px 4px; }
  .qg-hero { min-height: auto; }
  .qg-hero__inner { grid-template-columns: 1fr; gap: 46px; }
  .qg-hero__visual { min-height: 390px; }
  .qg-profile__grid, .qg-trial__grid, .qg-wealth__grid { grid-template-columns: 1fr; gap: 48px; }
  .qg-services__grid, .qg-post-grid, .qg-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .qg-pains__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qg-pains__list li, .qg-pains__list li:nth-child(4), .qg-pains__list li:nth-child(5) { grid-column: auto; }
  .qg-services__head { display: block; }
  .qg-profile__visual { min-height: 360px; }
  .qg-skill-cards { grid-template-columns: repeat(2, 1fr); }
  .qg-skill-card:last-child { grid-column: 1 / -1; min-height: auto; }
  .qg-tools__intro { display: block; }
  .qg-tools__intro > p { margin-top: 24px; }
  .qg-work-examples__layout { grid-template-columns: 1fr; gap: 54px; }
  .qg-work-examples__heading { position: static; }
  .qg-skills-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 24px; }
  .qg-use-scenes .qg-container { grid-template-columns: 1fr; gap: 42px; }
  .qg-use-scenes__heading { position: static; }
}

@media (max-width: 620px) {
  .qg-container, .qg-narrow { width: min(calc(100% - 32px), var(--qg-width)); }
  .site-header__inner { min-height: 70px; }
  .main-navigation { top: 70px; }
  .site-description { display: none; }
  .qg-default-logo img { max-width: 205px; max-height: 44px; }
  .qg-section { padding: 74px 0; }
  .qg-hero__inner { padding-block: 76px; }
  .qg-hero__title { font-size: clamp(2rem, 9vw, 2.7rem); }
  .qg-hero__visual { min-height: 340px; }
  .qg-hero__visual-note { right: 18px; bottom: 18px; left: 18px; padding: 15px 18px; }
  .qg-services__grid, .qg-post-grid, .qg-archive-grid { grid-template-columns: 1fr; }
  .qg-service-card { min-height: auto; }
  .qg-pains__head > p:last-child br { display: none; }
  .qg-pains__list { grid-template-columns: 1fr; margin-top: 38px; }
  .qg-pains__list li { min-height: auto; padding: 22px 20px 26px; }
  .qg-pains__illustration { height: 210px; }
  .qg-mobile-break { display: inline; }
  .qg-trial__card { grid-template-columns: 1fr; }
  .qg-trial__plan { min-height: 250px; padding: 36px 26px; }
  .qg-trial__details { padding: 32px 24px; }
  .qg-profile__visual { min-height: 290px; }
  .qg-profile__visual img { height: 280px; }
  .qg-profile__initial { font-size: 6rem; }
  .qg-wealth__visual { min-height: 320px; }
  .qg-wealth__orbit--outer { width: 210px; height: 210px; }
  .qg-wealth__orbit--inner { width: 135px; height: 135px; }
  .qg-wealth__letter { font-size: 5rem; }
  .qg-wealth .qg-section-title { font-size: clamp(1.65rem, 7vw, 2rem); }
  .qg-skills-hero { padding: 88px 0 78px; }
  .qg-skills-hero__inner { grid-template-columns: 1fr; gap: 35px; }
  .qg-skills-hero__title { font-size: clamp(1.95rem, 8.7vw, 2.65rem); }
  .qg-skills-hero__lead br { display: none; }
  .qg-skills-hero__visual img { max-height: 390px; }
  .qg-skill-cards, .qg-tool-grid { grid-template-columns: 1fr; }
  .qg-skill-card, .qg-skill-card:last-child { grid-column: auto; min-height: auto; padding: 34px 26px; }
  .qg-skill-card__top { margin-bottom: 30px; }
  .qg-use-scenes { padding: 72px 0 78px; }
  .qg-use-scenes__grid { grid-template-columns: 1fr; }
  .qg-use-scene { min-height: auto; }
  .qg-tool-group { min-height: auto; padding: 30px 24px; }
  .qg-work-example { grid-template-columns: 38px 1fr; gap: 12px; }
  .qg-skills-cta { padding: 78px 0; }
  .qg-skills-cta h2 br { display: none; }
  .site-footer__top { grid-template-columns: 1fr; gap: 50px; }
  .site-footer__logo img { max-width: 240px; max-height: 58px; }
  .footer-menu { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
