/* ========================================
   Sugar Design Labo - Migrated Additional CSS
   Original cascade order retained (before site.css).
======================================== */

/* Sugar Design Labo | site.css | mobile-first | 2026-10-30
   Scope: supplied HOME CSS.
   Retain selectors with unverified usage as a precaution.
   Preserve margin-block-start: 0 !important for image cards.

*/

/* 01. Mobile base (0–767px) */
.site-header-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: 12px 20px;
  background: #fff;
}
.site-header-inner > .wp-block-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  max-width: none;
}

.sugar-logo img {
  display: block;
  width: 90px;
  height: auto;
}
.site-header-inner .wp-block-search__button {
  margin: 0;
  padding: 10px;
  border: 0;
  background: transparent;
  color: #222;
}
.site-header-inner .wp-block-search__button:hover {
  color: #888;
}

.sugar-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(255,255,255,.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}

.sugar-search-close {
  position: absolute;
  top: 35px;
  right: 35px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #333;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
}
.sugar-search-form {
  width: 85%;
  margin-top: 20vh;
}
.sugar-search-form input {
  width: 100%;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  background: transparent;
  color: #333;
  font-size: 16px;
  outline: none;
}

body.home .wp-block-post-title {
  display: none;
}
body.home .wp-block-query .wp-block-post-title {
  display: block;
  margin: 20px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .04em;
  text-align: center;
}
body.home .wp-site-blocks > main {
  margin-block-start: 0 !important;
}
body.home main .entry-content {
  margin-block-start: 0;
}
body.home .entry-content > .sugar-hero {
  margin-block-start: 0 !important;
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
.sugar-hero {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: 600px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  color: #292929;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  height: calc(100svh - 60px);
  aspect-ratio: auto;
}
.sugar-hero__scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #030610;
}
.sugar-hero__video,
.sugar-hero__galaxy,
.sugar-hero__tint,
.sugar-hero__depth,
.sugar-hero__plants {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.sugar-hero__video,
.sugar-hero__galaxy,
.sugar-hero__plants {
  object-position: center bottom;
}
.sugar-hero__video {
  z-index: 0;
  opacity: .9;
  filter: brightness(.46) contrast(1.18) saturate(.88);
  transition: opacity 1.35s ease;
}
.sugar-hero.is-settled .sugar-hero__video {
  opacity: 0;
}
.sugar-hero__galaxy {
  z-index: 1;
  opacity: .98;
  mix-blend-mode: screen;
  filter: saturate(1.5) contrast(1.1);
  transition: filter 1.5s ease;
}
.sugar-hero.is-settled .sugar-hero__galaxy {
  filter: saturate(1.5) contrast(.9);
}
.sugar-hero__tint {
  z-index: 2;
  background: radial-gradient(
    circle at 46% 58%,
    rgba(220,200,255,.26) 0,
    rgba(197,170,255,.24) 12%,
    rgba(106,112,196,.24) 29%,
    rgba(22,30,84,.38) 66%,
    rgba(3,6,16,.54) 100%
  );
  mix-blend-mode: screen;
  opacity: 1;
}
.sugar-hero__depth {
  z-index: 3;
  background: radial-gradient(
    circle at 50% 55%,
    rgba(255,255,255,0) 0 18%,
    rgba(38,52,115,.10) 38%,
    rgba(11,18,46,.22) 64%,
    rgba(2,4,10,.34) 100%
  );
  mix-blend-mode: multiply;
  opacity: .99;
}
.sugar-hero__plants {
  z-index: 4;
  mix-blend-mode: screen;
  pointer-events: none;
  user-select: none;
  transform: scale(1.5);
  transform-origin: left bottom;
  transition: filter 1.5s ease;
}
.sugar-hero.is-settled .sugar-hero__plants {
  filter: contrast(1);
}
.sugar-hero .sugar-hero__copy {
  position: absolute;
  z-index: 5;
  left: 8%;
  top: 72%;
  width: 84%;
  max-width: none;
  transform: translateY(-50%);
  text-align: center;
  color: #292929;
}
.sugar-hero .sugar-hero__copy h1 {
  margin: 0;
  color: #2d3032;
  font-family: "Muli", Arial, sans-serif;
  font-size: clamp(25px, 7vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 2px;
  text-align: left;
  opacity: 1;
  visibility: visible;
}
.sugar-hero .sugar-hero__copy p {
  margin: 1.05rem 0 0 .35rem;
  color: #292929;
  font-family: "Muli", Arial, sans-serif;
  font-size: clamp(.72rem, 1.17vw, 1.22rem);
  letter-spacing: .30em;
  text-align: left;
  opacity: 1;
  visibility: visible;
}
.sugar-about {
  padding: 90px 20px 80px;
  text-align: center;
  background: #fff;
}
.sugar-about::before {
  content: "";
  display: block;
  width: 1px;
  height: 30px;
  margin: 0 auto 28px;
  background: #ccc;
}
.sugar-about .sugar-about__subtitle {
  margin: 0 0 18px;
  color: #777;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
}
.sugar-about .sugar-about__title {
  margin: 0;
  color: #333;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
}
.sugar-about .sugar-about__intro {
  max-width: 760px;
  margin: 0 auto;
  color: #777;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: .06em;
}
.sugar-about .sugar-about__intro a {
  color: inherit;
  text-decoration: none;
  font-weight: 300;
}
.sugar-about .sugar-about__intro a:hover {
  opacity: .6;
}
body.home .sugar-about__title + p {
  margin-top: 40px !important;
}
body.home .wp-block-query .wp-block-post-title a {
  color: #333;
  text-decoration: none;
}
body.home .wp-block-query .wp-block-post-title a:hover {
  opacity: .6;
}
body.home .wp-block-query .wp-block-post-date {
  margin-top: 16px;
  color: #999;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  text-align: center;
}
body.home .wp-block-query .wp-block-post-template {
  column-gap: 28px;
}
body.home .sugar-about .wp-block-query {
  margin-top: 70px;
}
body.home .sugar-about {
  padding-bottom: 120px;
}
body.home .sugar-post-image img {
  filter: grayscale(100%);
  transition: filter .4s ease;
}
body.home .sugar-post-image a:hover img,
body.home .sugar-post-image:hover img {
  filter: grayscale(0%);
}
body.home .wp-block-post-template > li .sugar-post-image {
  margin-bottom: 0;
}
body.home .wp-block-post-template > li .sugar-post-image img {
  display: block;
}
body.home .wp-block-post-template > li .sugar-post-content {
  margin-top: 0;
}
body.home .sugar-posts-grid {
  width: min(1200px, calc(100vw - 40px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
body.home .sugar-post-content {
  padding: 30px 35px 40px;
  background: #f8f8f8;
  text-align: left;
}
body.home .sugar-post-content .wp-block-post-title {
  display: block;
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  text-align: left;
}
body.home .sugar-post-content .wp-block-read-more {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 3px;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background .3s ease;
}
body.home .sugar-post-content .wp-block-read-more:hover {
  background: #555;
}
body.home .sugar-posts-grid .sugar-post-content {
  min-height: 0;
  padding: 32px 35px 40px;
  gap: 10px;
}
body.home .sugar-posts-grid .sugar-post-content .wp-block-post-title {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .02em;
}
body.home .sugar-posts-grid .sugar-post-content .wp-block-read-more {
  margin-top: 14px;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 3px;
}
.site-footer-inner {
  max-width: 1200px;
  margin-inline: auto;
}
body.home .sugar-why {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: 100vw;
  max-width: none;
  margin: 0 0 0 calc(50% - 50vw);
  padding: 70px 20px 80px;
  background: #252525;
  color: #f2f2f2;
}
body.home .sugar-why::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background: #252525;
}
body.home .sugar-why > h2 {
  letter-spacing: .2em;
}
body.home .sugar-why > p {
  color: #999;
  font-size: 14px;
  letter-spacing: .08em;
}
body.home .sugar-why svg {
  display: block;
  width: 40px !important;
  height: 40px !important;
  max-width: 40px;
  margin-inline: auto;
  fill: #f2f2f2;
}
body.home .sugar-why__columns {
  width: 100%;
  max-width: 1200px;
  margin: 50px auto 0;
  gap: 50px;
}
body.home .sugar-why__columns h3 {
  margin: 25px 0 18px;
  color: #f2f2f2;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .18em;
  text-align: center;
}
body.home .sugar-why__columns p:not(.sugar-why__link) {
  margin: 0;
  color: #999;
  font-size: 13px;
  font-weight: 300;
  line-height: 2;
  letter-spacing: .06em;
  text-align: left;
}
body.home .sugar-why__columns .sugar-why__link {
  margin-top: 24px;
  text-align: center;
}
body.home .sugar-why__link a {
  display: inline-block;
  color: #f2f2f2;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  text-decoration: none;
  transition: opacity .3s ease;
}
body.home .sugar-why > .sugar-why__subtitle {
  margin-top: 10px;
}
.sugar-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  min-height: 36px;
  margin-top: 24px;
  padding: 15px 24px;
  box-sizing: border-box;
  background: #252525;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 2px;
  text-decoration: none;
  transition: background-color .3s ease;
  margin-inline: auto;
}
.sugar-hero .sugar-hero__arrow {
  position: absolute;
  z-index: 20;
  top: auto;
  left: auto;
  right: 20px;
  bottom: 20px;
  display: block;
  width: 46px;
  height: 46px;
  padding: 0;
  background-color: transparent;
  background-image: url("../hero/arrow-right-solid-full.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: none;
  border-radius: 0;
  box-shadow: none;
  font-size: 0;
  cursor: pointer;
  filter: invert(1);
  animation: sugar-arrow-move 2s ease-in-out infinite;
}
body.home .sugar-why__subtitle a {
  display: inline-block;
  color: inherit;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.35s ease;
}
body.home .sugar-why__subtitle a:focus-visible {
  transform: scale(1.08);
}
.sugar-why__link {
  display: inline-block;
  transition: transform 0.35s ease;
}
.sugar-why__link:focus-visible {
  transform: scale(1.08);
}
body.home .sugar-posts-grid .wp-block-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  border: 1px solid #222;
  border-radius: 0;
  background: #222;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-decoration: none;
  transform: scale(1);
  transition: background-color 0.3s ease,
    color 0.3s ease,
    transform 0.35s ease;
}
body.home .wp-block-buttons .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  border: 1px solid #222;
  border-radius: 0;
  background: #222;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-decoration: none;
  transform: scale(1);
  transition: background-color 0.3s ease,
    color 0.3s ease,
    transform 0.35s ease;
}
body.home .sugar-pickup-heading {
  text-align: center;
  padding: 60px 20px 40px;
}
body.home .sugar-pickup-heading h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.5;
  color: #333;
}
body.home .sugar-pickup-heading p {
  margin: 0;
}
body.home .sugar-pickup-heading p a {
  color: #333;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.sugar-pickup-link {
  margin: 0;
  text-align: center;
}
.sugar-pickup-link a {
  display: inline-block;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  transform: scale(1);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.sugar-home-portfolio .wp-block-post-template {
  align-items: start;
}
.sugar-home-portfolio .wp-block-post-featured-image {
  margin: 0;
  margin-top: 0 !important;
}
.sugar-home-portfolio .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
}
.home .sugar-portfolio-grid .wp-block-post-featured-image,
.home .sugar-portfolio-grid .wp-block-post-featured-image a {
  display: block;
  margin: 0;
}
.home .sugar-portfolio-grid .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
}
.home .sugar-portfolio-grid .sugar-portfolio-card-image {
  width: 100%;
  aspect-ratio: 1.725 / 1;
  margin: 0;
  overflow: hidden;
}
.home .sugar-portfolio-grid .sugar-portfolio-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1.725 / 1;
  object-fit: cover;
}
.sugar-portfolio-grid > li {
  margin-block-start: 0 !important;
}
.sugar-portfolio-grid > li .sugar-portfolio-card {
  margin-block-start: 0 !important;
}
.sugar-portfolio-grid > li figure {
  margin-block-start: 0 !important;
}
.sugar-hero__video,
  .sugar-hero__galaxy,
  .sugar-hero__plants {
  object-fit: cover;
  object-position: center;
}
body.home .sugar-hero .sugar-hero__copy {
  text-align: center;
  transform: translateY(-120px);
}
body.home .sugar-hero .sugar-hero__copy h1,
  body.home .sugar-hero .sugar-hero__copy p {
  text-align: center;
}
body.home .sugar-hero__button {
  margin-inline: auto;
}
body.home .sugar-hero {
  min-height: 660px;
  height: 70svh;
  aspect-ratio: auto;
}

/* 02. Tablet adjustments (768–781px) */
@media (min-width: 768px) {
  .site-header-inner {
    padding: 10px 20px;
  }
  .sugar-logo img {
    width: 98px;
  }
  .sugar-search-form {
    width: min(80%, 900px);
  }
  .sugar-search-form input {
    font-size: 20px;
  }
  .sugar-hero {
    width: 100vw;
    min-height: 0;
    aspect-ratio: 1980 / 1179;
    height: auto;
  }
  .sugar-hero .sugar-hero__copy {
    left: 13%;
    top: 65%;
    width: auto;
    max-width: 650px;
    text-align: left;
  }
  .sugar-hero .sugar-hero__copy h1 {
    font-size: clamp(2rem, 4vw, 4.15rem);
    line-height: 1.04;
  }
body.home .sugar-hero .sugar-hero__copy {
    text-align: left;
    transform: translateY(-120px);
}
  body.home .sugar-hero .sugar-hero__copy h1, body.home .sugar-hero .sugar-hero__copy p {
    text-align: left;
}
  .sugar-about {
    padding: 90px 24px 80px;
  }
  body.home .sugar-about {
    padding-bottom: 250px;
  }
  body.home .sugar-why {
    padding: 90px 24px 100px;
  }
  body.home .sugar-why__columns {
    gap: 40px;
    margin-top: 70px;
  }
  .sugar-hero .sugar-hero__arrow {
    right: 35px;
    bottom: 25px;
    width: 58px;
    height: 58px;
  }
  .sugar-about .sugar-about__title,
  .sugar-why__title {
    font-size: 25px;
    letter-spacing: .32em;
  }
  body.home .sugar-why__columns > .wp-block-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  body.home .sugar-why__columns > .wp-block-column > .sugar-why__link {
    margin-top: auto;
    padding-top: 24px;
  }
}

/* 03. Desktop adjustments (782px and up) */
@media (min-width: 782px) {
  body.home .sugar-pickup-heading {
    padding: 90px 20px 70px;
  }
  body.home .sugar-pickup-heading h2 {
    font-size: 28px;
    letter-spacing: 0.35em;
  }
  body.home .sugar-pickup-heading p a {
    font-size: 13px;
  }
}

/* 04. Interactions, animation, accessibility */
@media (hover: hover) {
  body.home .sugar-why__link a:hover { opacity: .6; }
}

@media (prefers-reduced-motion: reduce) {
  .sugar-search-overlay,
  .sugar-hero__video { transition: none; }
  .sugar-hero__video { display: none; }
}

@media (hover: hover) {
  .sugar-hero__button:hover {
    background: #555;
  }
}

@keyframes sugar-arrow-move {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

@media (prefers-reduced-motion: reduce) {
  .sugar-hero .sugar-hero__arrow {
    animation: none;
  }
}

@media (hover: hover) {
  body.home .sugar-why__subtitle a:hover {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .sugar-why__subtitle a {
    transition: none;
  }
}

@media (hover: hover) {
  .sugar-why__link:hover {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sugar-why__link {
    transition: none;
  }
}

@media (hover: hover) {
  body.home .sugar-posts-grid .wp-block-read-more:hover {
    background: #fff;
    color: #222;
    transform: scale(1.08);
  }
}

@media (hover: hover) {
  body.home .wp-block-buttons .wp-block-button__link:hover {
    background: #fff;
    color: #222;
    transform: scale(1.08);
  }
}

@media (hover: hover) {
  body.home .sugar-pickup-heading p a:hover {
    opacity: 0.5;
  }
}

@media (hover: hover) {
  .sugar-pickup-link a:hover {
    color: #333;
    opacity: 0.6;
    transform: scale(1.08);
  }
}

/* ========================================
   Sugar Design Labo - Header
======================================== */

.site-header-inner {
  background-color: #fff;
  padding: 14px 30px;
}

.site-header-inner > .wp-block-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.sugar-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.sugar-logo img {
  display: block;
  width: 70px;
  height: auto;
}

/* Mobile devices */
@media (max-width: 767px) {
  .site-header-inner {
    padding: 12px 20px;
  }

  .sugar-logo img {
    width: 70px;
  }
}
/* Expand header to full viewport width */
.site-header-inner {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}

/* Remove inner header width limit */
.site-header-inner > .wp-block-group {
  max-width: none;
  width: 100%;
}
/* ========================================
   Header Navigation
======================================== */

/* Header height and spacing */
.site-header-inner {
  padding: 10px 20px;
}

/* Navigation container */
.site-header-inner .wp-block-navigation {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

/* Menu item spacing */
.site-header-inner .wp-block-navigation__container {
  column-gap: 28px;
}

/* Menu links */
.site-header-inner .wp-block-navigation-item__content {
  color: #333;
  text-decoration: none;
}

/* Hover state */
.site-header-inner .wp-block-navigation-item__content:hover {
  color: #999;
}
/* Header search button */
.site-header-inner .wp-block-search__button {
  background: transparent;
  color: #222;
  border: none;
  padding: 10px;
  margin: 0;
}

.site-header-inner .wp-block-search__button:hover {
  background: transparent;
  color: #888;
}
/* ========================================
   Fullscreen Search
======================================== */

.sugar-search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #222;
  cursor: pointer;
}

.sugar-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.sugar-search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.sugar-search-close {
  position: absolute;
  top: 35px;
  right: 35px;
  border: 0;
  background: transparent;
  font-size: 28px;
  font-weight: 300;
  color: #333;
  cursor: pointer;
}

.sugar-search-form {
  width: min(80%, 900px);
  margin-top: 20vh;
}

.sugar-search-form input {
  width: 100%;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  background: transparent;
  color: #333;
  font-size: 20px;
  outline: none;
}

.sugar-search-form input:focus {
  border-bottom-color: #333;
}

@media (max-width: 767px) {
  .sugar-search-form {
    width: 85%;
  }

  .sugar-search-form input {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sugar-search-overlay {
    transition: none;
  }
}
/* ========================================
   Sugar Design Labo - Hero
======================================== */

.sugar-hero {
  position: relative;
  width: 100%;
  height: min(800px, 90vh);
  min-height: 500px;
  overflow: hidden;
  isolation: isolate;
  background: #171a24;
}

/* Layer forest video and galaxy image */
.sugar-hero__scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sugar-hero__video,
.sugar-hero__galaxy {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sugar-hero__video {
  z-index: 1;
}

.sugar-hero__galaxy {
  z-index: 2;
  opacity: 1;
}

/* Background color adjustment */
.sugar-hero__tint {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(12, 15, 30, 0.12);
}

.sugar-hero__depth {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(0, 0, 0, 0.25)
  );
}

/* Plant image */
.sugar-hero__plants {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Hero copy */
.sugar-hero__copy {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  width: 90%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.sugar-hero__copy h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(30px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.12em;
}

.sugar-hero__copy p {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.3em;
}

/* Right arrow */
.sugar-hero__arrow {
  position: absolute;
  z-index: 7;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

/* Mobile devices */
@media (max-width: 767px) {
  .sugar-hero {
    height: 70vh;
    min-height: 420px;
  }

  .sugar-hero__copy h1 {
    font-size: clamp(24px, 7vw, 40px);
  }

  .sugar-hero__arrow {
    right: 15px;
  }
}
/* ========================================
   Portfolio Single
======================================== */

/* Title area */
.sugar-portfolio-hero {
  padding: 80px 20px;
  background: #f7f7f7;
  text-align: center;
}

.sugar-portfolio-hero .wp-block-post-title {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  letter-spacing: 0.2em;
}

/* Content */
.sugar-portfolio-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 30px 100px;
}

.sugar-portfolio-columns {
  align-items: flex-start !important;
  gap: 40px;
}

/* Image */

/* Description */
.sugar-portfolio-description {
  font-size: 13px;
  line-height: 1.9;
  color: #777;
}

.sugar-portfolio-description h4 {
  margin: 0 0 20px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.sugar-portfolio-description p {
  margin: 0 0 20px;
}

/* VIEW PROJECT */
.sugar-portfolio-description .wp-block-button__link {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid #222;
  border-radius: 0;
  background: transparent;
  color: #222;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.sugar-portfolio-description .wp-block-button__link:hover {
  background: #222;
  color: #fff;
}

/* Mobile devices */
@media (max-width: 781px) {
  .sugar-portfolio-hero {
    padding: 50px 20px;
  }

  .sugar-portfolio-detail {
    padding: 40px 20px 70px;
  }

  .sugar-portfolio-columns {
    gap: 30px;
  }

  .sugar-portfolio-description {
    font-size: 13px;
  }
}
/* ========================================
   Portfolio Navigation
======================================== */

.single-portfolio .sugar-portfolio-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 30px;
  min-height: 58px;
  box-sizing: border-box;
  background: #151515;
}

.single-portfolio .sugar-portfolio-nav a {
  display: inline-block;
  padding: 20px 0;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-decoration: none;
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.single-portfolio .sugar-portfolio-nav a:hover {
  opacity: 0.55;
}

.single-portfolio .sugar-portfolio-nav .post-navigation-link-previous a::before {
  content: "‹";
  margin-right: 12px;
  font-size: 20px;
  vertical-align: -1px;
}

.single-portfolio .sugar-portfolio-nav .post-navigation-link-next a::after {
  content: "›";
  margin-left: 12px;
  font-size: 20px;
  vertical-align: -1px;
}

@media (max-width: 781px) {
  .single-portfolio .sugar-portfolio-nav {
    padding: 0 20px;
    min-height: 54px;
  }

  .single-portfolio .sugar-portfolio-nav a {
    font-size: 9px;
    letter-spacing: 0.08em;
  }
}
/* Portfolio Breadcrumb */

.sugar-portfolio-breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #999;
}

.sugar-portfolio-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.sugar-portfolio-breadcrumb a:hover {
  color: #222;
}

@media (max-width: 781px) {
  .sugar-portfolio-breadcrumb {
    gap: 7px;
    font-size: 9px;
  }
}
/* Portfolio Navigation: subtle hover scaling */
@media (hover: hover) {
  .single-portfolio .sugar-portfolio-nav a:hover {
    transform: scale(1.08);
    opacity: 0.8;
  }
}
/* Portfolio Navigation: mobile adjustments */
@media (max-width: 781px) {
  .single-portfolio .sugar-portfolio-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .single-portfolio .sugar-portfolio-nav > * {
    flex: 0 1 auto;
    margin: 0;
  }

  .single-portfolio .sugar-portfolio-nav a {
    white-space: nowrap;
  }
}
/* Portfolio: justify body text */
.single-portfolio .sugar-portfolio-description p {
  text-align: justify;
}
/* ========================================
   Portfolio Image Hover & Lightbox
======================================== */

/* Project image */
.sugar-portfolio-image img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
  transform: scale(1);
  transition: transform 0.4s ease;
  transform-origin: center;
}

/* Hover state */
@media (hover: hover) {
  .sugar-portfolio-image img:hover {
    transform: scale(1.03);
  }
}

/* Keyboard interaction */
.sugar-portfolio-image img:focus-visible {
  outline: 2px solid #555;
  outline-offset: 4px;
}

/* Modal */
.sugar-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 30px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.88);

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sugar-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

/* Enlarged image */
.sugar-lightbox-img {
  display: block;
  max-width: 95%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
}

/* Close button */
.sugar-lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  z-index: 2;
  padding: 5px 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sugar-lightbox-close:hover {
  transform: scale(1.15);
  opacity: 0.7;
}

/* Prevent background scrolling while modal is open */
body.sugar-lightbox-open {
  overflow: hidden;
}

/* Mobile devices */
@media (max-width: 781px) {
  .sugar-lightbox {
    padding: 50px 10px;
  }

  .sugar-lightbox-img {
    max-width: 100%;
    max-height: 85vh;
  }

  .sugar-lightbox-close {
    top: 15px;
    right: 15px;
    font-size: 32px;
  }
}

/* Support reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .sugar-portfolio-image img,
  .sugar-lightbox,
  .sugar-lightbox-close {
    transition: none;
  }
}
/* ========================================
   Portfolio Archive
======================================== */

/* Page title */
.sugar-portfolio-archive-title {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  letter-spacing: 0.2em;
}

/* Breadcrumb */
.sugar-portfolio-archive-breadcrumb {
  margin: 14px 0 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #999;
}

.sugar-portfolio-archive-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.sugar-portfolio-archive-breadcrumb a:hover {
  color: #222;
}

/* Archive container */
.sugar-portfolio-archive {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 30px 100px;
}

/* Description */
.sugar-portfolio-archive-intro {
  margin: 0 0 50px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #999;
}

/* Grid */
.sugar-portfolio-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 30px 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Card */
.sugar-portfolio-card {
  position: relative;
  overflow: hidden;
}

/* Image */
.sugar-portfolio-card-image {
  margin: 0;
  overflow: hidden;
}

.sugar-portfolio-card-image a {
  display: block;
  overflow: hidden;
}

.sugar-portfolio-card-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;

  filter: grayscale(100%);
  transform: scale(1);

  transition:
    filter 0.5s ease,
    transform 0.5s ease;
}

/* Restore color and scale on hover */
@media (hover: hover) {
  .sugar-portfolio-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.03);
  }
}

/* Project title */
.sugar-portfolio-card-title {
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-align: center;
}

.sugar-portfolio-card-title a {
  color: #777;
  text-decoration: none;
}

/* Additional notes */
.sugar-portfolio-archive-note {
  margin: 70px 0 0;
  font-size: 12px;
  line-height: 2;
  color: #aaa;
}

/* Tablet */
@media (max-width: 1024px) {
  .sugar-portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 25px 20px;
  }
}

/* Mobile devices */
@media (max-width: 600px) {
  .sugar-portfolio-archive {
    padding: 45px 20px 70px;
  }

  .sugar-portfolio-grid {
    gap: 20px 12px;
  }

  .sugar-portfolio-card-title {
    font-size: 10px;
    line-height: 1.5;
    margin-top: 8px;
  }

  .sugar-portfolio-archive-intro {
    margin-bottom: 35px;
    font-size: 11px;
  }

  .sugar-portfolio-archive-note {
    margin-top: 50px;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .sugar-portfolio-card-image img {
    transition: none;
  }
}
/* ========================================
   Portfolio Archive: show title on hover
======================================== */

/* Desktop: overlay title on image */
@media (min-width: 1025px) and (hover: hover) {

  .sugar-portfolio-card {
    position: relative;
  }

  /* Title */
  .sugar-portfolio-card-title {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 20px;
    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.55);

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.4s ease;
  }

  .sugar-portfolio-card-title a {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.08em;
    text-align: center;
  }

  /* Hover state */
  .sugar-portfolio-card:hover .sugar-portfolio-card-title {
    opacity: 1;
  }

  /* Support keyboard interaction */
  .sugar-portfolio-card:focus-within .sugar-portfolio-card-title {
    opacity: 1;
  }
}
/* Portfolio Archive: 1200px desktop width */
@media (min-width: 1025px) {
  .sugar-portfolio-archive {
    width: 100%;
    max-width: 1260px;
    box-sizing: border-box;
  }

  .sugar-portfolio-archive > .sugar-portfolio-query {
    width: 100%;
    max-width: none;
  }
}
/* ========================================
   Portfolio Archive：Read More
======================================== */

.sugar-portfolio-more {
  margin-top: 50px;
}

.sugar-portfolio-more-button .wp-block-button__link {
  display: inline-block;
  padding: 14px 32px;

  background: #292929;
  color: #fff;

  border: 1px solid #292929;
  border-radius: 2px;

  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.5;

  text-decoration: none;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

/* Hover state */
@media (hover: hover) {
  .sugar-portfolio-more-button .wp-block-button__link:hover {
    background: #fff;
    color: #292929;
    transform: scale(1.05);
  }
}

/* Mobile devices */
@media (max-width: 781px) {
  .sugar-portfolio-more {
    margin-top: 35px;
  }

  .sugar-portfolio-more-button .wp-block-button__link {
    padding: 12px 26px;
    font-size: 11px;
  }
}
/* Portfolio: contact link */
.sugar-portfolio-archive-note a,
.sugar-portfolio-archive-note a:visited {
  color: inherit !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s ease;
}

.sugar-portfolio-archive-note a:hover {
  opacity: 0.6;
}
/* ========================================
   HOME Portfolio: show title on hover
======================================== */

@media (min-width: 1025px) and (hover: hover) {

  /* Individual project cards */
  .sugar-home-portfolio .sugar-portfolio-card {

    overflow: hidden;
  }

  /* Center title over image */
  .sugar-home-portfolio .sugar-portfolio-card-title {

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.55);

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.4s ease;
  }

  .sugar-home-portfolio .sugar-portfolio-card-title a {

    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.08em;
    text-align: center;
  }

  /* Show on hover */
  .sugar-home-portfolio .sugar-portfolio-card:hover
  .sugar-portfolio-card-title {
    opacity: 1;
  }

  .sugar-home-portfolio .sugar-portfolio-card:focus-within
  .sugar-portfolio-card-title {
    opacity: 1;
  }
}
/* ========================================
   HOME Portfolio: desktop width and hover text color
======================================== */
@media (min-width: 1025px) {
  body.home .sugar-home-portfolio {
    width: min(1200px, calc(100vw - 60px)) !important;
    max-width: 1200px !important;
    margin-left: 50% !important;
    margin-right: auto !important;
    transform: translateX(-50%);
  }
  .sugar-home-portfolio .sugar-portfolio-grid {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1025px) and (hover: hover) {
  .sugar-home-portfolio .sugar-portfolio-card-title,
  .sugar-home-portfolio .sugar-portfolio-card-title a,
  .sugar-home-portfolio .sugar-portfolio-card-title a:visited {
    color: #fff !important;
  }
}
.sugar-home-portfolio .sugar-portfolio-card {
  margin: 0 !important;
  padding: 0;
}
.sugar-home-portfolio .sugar-portfolio-card-image { margin: 0 !important; }
.sugar-home-portfolio .sugar-portfolio-card-image img { display: block; }

/* HOME: center title on hover */
@media (min-width: 1025px) and (hover: hover) {

  .sugar-home-portfolio .sugar-portfolio-card {
    position: relative;
  }

  .sugar-home-portfolio .sugar-portfolio-card-title {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 20px;
    box-sizing: border-box;

    text-align: center !important;
  }

  .sugar-home-portfolio .sugar-portfolio-card-title a {
    display: block;
    width: 100%;
    color: #fff !important;
    text-align: center !important;
  }
}
/* HOME: portfolio archive button */
.sugar-home-portfolio-button {
  display: flex;
  justify-content: center;
  margin: 65px auto 100px !important;
}

.sugar-home-portfolio-button .wp-block-button__link {
  padding: 15px 35px;
  border: 1px solid #222;
  border-radius: 0;
  background: #222;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.sugar-home-portfolio-button .wp-block-button__link:hover {
  background: #fff;
  color: #222;
}

@media (max-width: 781px) {
  .sugar-home-portfolio-button {
    margin: 40px auto 70px !important;
  }
}
/* READ MORE: match VIEW ALL styling */
.wp-block-button .wp-block-button__link {
  transition: background-color 0.3s ease,
              color 0.3s ease,
              border-color 0.3s ease;
}

/* READ MORE only */
.sugar-read-more .wp-block-button__link {
  padding: 15px 35px;
  border: 1px solid #222;
  border-radius: 0;
  background: #fff;
  color: #222;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
}

@media (hover: hover) {
  .sugar-read-more .wp-block-button__link:hover {
    background: #222;
    color: #fff;
  }
}

/* ========================================
   Footer
======================================== */

.sugar-footer {
  margin: 0;
}

/* Main */
.sugar-footer-main {
  position: relative;
  overflow: hidden;
  background: #f6f6f4;
  padding: 60px 24px;
}

.sugar-footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.sugar-footer-column h3 {
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d8d8d8;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
}

/* Latest Posts */
.sugar-footer-posts .wp-block-post-template {
  list-style: none;

}

.sugar-footer-posts .wp-block-post {
  padding: 10px 0;

}

.sugar-footer-posts .wp-block-post-title {
  margin: 0;
  font-size: 12px;

  line-height: 1.8;
}

.sugar-footer a {
  color: #666;
  text-decoration: none;
  transition: opacity .3s ease;
}

@media (hover: hover) {
  .sugar-footer a:hover {
    opacity: .55;
  }
}

/* Category */
.sugar-footer-column .wp-block-categories-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sugar-footer-column .wp-block-categories-list li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  font-size: 12px;
}

/* Some Past Works */
.sugar-footer-work-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sugar-footer-work-grid .wp-block-post {
  min-width: 0;
  margin: 0;
}

.sugar-footer-work-grid .wp-block-post-featured-image {
  margin: 0;
  aspect-ratio: 1.725 / 1;
  overflow: hidden;
}

.sugar-footer-work-grid .wp-block-post-featured-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.sugar-footer-work-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

@media (hover: hover) {
  .sugar-footer-work-grid a:hover img {
    transform: scale(1.06);
  }
}

/* Bottom */
.sugar-footer-bottom {
  padding: 42px 20px 30px;
  background: #242424;
  color: #fff;
  text-align: center;
}

.sugar-footer-brand {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: .12em;
}

.sugar-footer-subtitle {
  margin-top: 6px;
  color: #aaa;
  font-size: 10px;
  letter-spacing: .18em;
}

.sugar-footer-social {
  margin-top: 24px;
}

.sugar-footer-copyright {
  margin: 24px 0 0;
  color: #aaa;
  font-size: 10px;
  letter-spacing: .04em;
}

/* Desktop */
@media (min-width: 782px) {
  .sugar-footer-main {
    padding: 90px 40px 110px;
  }

  .sugar-footer-inner {
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 40px;
  }

  .sugar-footer-work-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
  }
}

/* ========================================
   2026-11-23 : Home / Footer refinements
======================================== */

/* HOME: spacing below MY PICKUP WORK */
body.home .sugar-home-portfolio-button {
  margin-bottom: 120px !important;
}

/* Reset block spacing above and below footer */
.sugar-footer,
.sugar-footer > .sugar-footer-main,
.sugar-footer > .sugar-footer-bottom {
  margin-block-start: 0 !important;
  margin-block-end: 0;
}
.sugar-footer-main + .sugar-footer-bottom {
  margin-block-start: 0 !important;
}

/* Footer column text alignment */
.sugar-footer-column {
  min-width: 0;
  text-align: left;
}
.sugar-footer-column h3 {
  text-align: left;
}

/* Manually added gallery: align thumbnails */
.sugar-footer-works .wp-block-gallery.sugar-footer-gallery,
.sugar-footer-works .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px !important;
  align-items: start;
}
.sugar-footer-works .wp-block-gallery > figure.wp-block-image {
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
}
.sugar-footer-works .wp-block-gallery > figure.wp-block-image img {
  display: block;
  width: 100% !important;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(100%);
  transform: scale(1);
  transition: filter .45s ease, transform .45s ease;
}
@media (hover: hover) {
  .sugar-footer-works .wp-block-gallery > figure.wp-block-image:hover img,
  .sugar-footer-works .wp-block-gallery > figure.wp-block-image:focus-within img {
    filter: grayscale(0%);
    transform: scale(1.06);
  }
}
@media (max-width: 781px) {
  body.home .sugar-home-portfolio-button {
    margin-bottom: 80px !important;
  }
  .sugar-footer-works .wp-block-gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sugar-footer-works .wp-block-gallery > figure.wp-block-image img {
    transition: none;
  }
}
/* Lightbox: adjust enlarged image size and aspect ratio */
.wp-lightbox-overlay .lightbox-image-container {
  width: 80vw !important;
  max-width: 1000px !important;
  height: 80vh !important;
  max-height: 700px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wp-lightbox-overlay .lightbox-image-container figure {
  width: 100% !important;
  height: 100% !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wp-lightbox-overlay .lightbox-image-container img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}
/* Lightbox: mobile adjustments */
@media (max-width: 781px) {

  .wp-lightbox-overlay .lightbox-image-container {
    width: 100% !important;
    max-width: 100% !important;
    height: 75vh !important;
    max-height: 75vh !important;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .wp-lightbox-overlay .lightbox-image-container figure {
    width: 100% !important;
    height: 100% !important;
    min-width: 0;
  }

  .wp-lightbox-overlay .lightbox-image-container img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    aspect-ratio: auto !important;
  }

}
/* Footer: left-align latest post titles */
.sugar-footer-posts .wp-block-post-title,
.sugar-footer-posts .wp-block-post-title a {
  text-align: left !important;
}
/* LATEST POSTS: adjust spacing and layout */

/* Spacing between posts */
.sugar-footer-posts .wp-block-post-template {
  margin: 0;
  padding: 0;
}

.sugar-footer-posts .wp-block-post {
  padding: 12px 0;
  margin: 0 !important;
  border-bottom: 1px solid #ddd;
}

/* Post title */
.sugar-footer-posts .wp-block-post-title {font-size: 12px!important;font-weight: 400;line-height: 1.7;}

/* LATEST POSTS: place date above title */
.sugar-footer-posts .sugar-footer-post-date {
  margin: 0 0 5px !important;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #999;
  text-align: left !important;
}

.sugar-footer-posts .wp-block-post-title {
  margin: 0 !important;
  text-align: left !important;
}

/* Remove default WordPress block spacing */
.sugar-footer-posts .wp-block-post > * + * {
  margin-block-start: 5px;
}

/* ========================================
   MY PICKUP WORK: mobile tap interaction
======================================== */
@media (max-width: 781px) {
  body.home .sugar-portfolio-card {
    position: relative;
    display: block;
    overflow: hidden;
  }
  body.home .sugar-portfolio-card-image {
    display: block;
    margin: 0;
  }
  body.home .sugar-portfolio-card .sugar-portfolio-card-title {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 10px 45px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.01em;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  body.home .sugar-portfolio-card::after {
    content: "VIEW PROJECT ↗";
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    width: max-content;
    max-width: 90%;
    color: #fff;
    font-size: 9px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  body.home .sugar-portfolio-card.is-active .sugar-portfolio-card-title {
    opacity: 1;
    visibility: visible;
  }
  body.home .sugar-portfolio-card.is-active::after { opacity: 1; }

/* Mobile: horizontal menu padding */

  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content {
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

/* Mobile: right spacing for menu close button */

  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-close {
    right: 24px;
  }

}
/* Increase spacing above footer */
.sugar-footer {
  padding-top: 120px;
}
@media (max-width: 781px) {
  .sugar-footer {
    padding-top: 70px;
  }
}
/* ========================================
   BLOG Archive
======================================== */

/* Page title */
.sugar-blog-hero {
  padding: 80px 20px;
  background: #f7f7f7;
  text-align: center;
}

.sugar-blog-title {
  margin: 0;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.2em;
}

/* Breadcrumb */
.sugar-blog-breadcrumb {
  margin: 14px 0 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #999;
}

.sugar-blog-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sugar-blog-breadcrumb a:hover {
  color: #222;
}

/* Content container */
.sugar-blog-archive {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 60px 30px 100px;
  box-sizing: border-box;
}

/* Category menu */
.sugar-blog-categories {

  gap: 12px 24px;
  margin: 0 0 50px;
  padding: 0 0 25px;
  border-bottom: 1px solid #ddd;

  font-size: 12px;
}

.sugar-blog-categories a {
  color: #777;

  transition: color 0.3s ease;
}

.sugar-blog-categories a:hover {
  color: #222;
}

/* Post list */
.sugar-blog-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 50px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sugar-blog-grid > li {
  min-width: 0;
  margin: 0 !important;
}

/* Post card */
.sugar-blog-card {
  margin: 0;
}

/* Featured image */
.sugar-blog-card-image {
  margin: 0 !important;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f7f7f7;
}

.sugar-blog-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.sugar-blog-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transform: scale(1);
  transition: filter 0.5s ease,
              transform 0.5s ease;
}

@media (hover: hover) {
  .sugar-blog-card:hover .sugar-blog-card-image img {
    filter: grayscale(0%);
    transform: scale(1.03);
  }
}

/* Publication date */
.sugar-blog-card-date {
  margin: 18px 0 8px !important;
  color: #999;
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* Post title */
.sugar-blog-card-title {
  margin: 0 !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}

.sugar-blog-card-title a {
  color: #333;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.sugar-blog-card-title a:hover {
  opacity: 0.6;
}

/* READ MORE */
.sugar-blog-card-more {
  display: inline-block;
  margin-top: 15px !important;
  color: #999;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sugar-blog-card-more:hover {
  color: #222;
}

/* Pagination */
.sugar-blog-pagination {
  justify-content: center;
  gap: 20px;
  margin-top: 70px !important;
  padding-top: 30px;
  border-top: 1px solid #ddd;
  font-size: 12px;
  color: #777;
}

.sugar-blog-pagination a {
  color: #777;
  text-decoration: none;
}

.sugar-blog-pagination .page-numbers {
  margin: 0 8px;
}

.sugar-blog-pagination .current {
  color: #222;
  font-weight: 600;
}

/* Tablet */
@media (max-width: 1024px) {
  .sugar-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 40px 25px;
  }
}

/* Mobile devices */
@media (max-width: 781px) {
  .sugar-blog-hero {
    padding: 50px 20px;
  }

  .sugar-blog-archive {
    padding: 35px 24px 70px;
  }

  .sugar-blog-categories {
    gap: 10px 16px;
    margin-bottom: 30px;
    font-size: 11px;
  }

  .sugar-blog-grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  .sugar-blog-pagination {
    margin-top: 45px !important;
  }
}

/* Support reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .sugar-blog-card-image img {
    transition: none;
  }
}
/* ========================================
   BLOG: category buttons
======================================== */

.sugar-blog-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 50px !important;
  padding: 0;
  border: none;
  list-style: none;
}

.sugar-blog-categories li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sugar-blog-categories a {
  display: block;
  padding: 9px 16px;
  border: 1px solid #d5d5d5;
  border-radius: 0;
  background: #fff;
  color: #666;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
  transition: background 0.3s ease,
              color 0.3s ease,
              border-color 0.3s ease;
}

/* Hover and active states */
.sugar-blog-categories a:hover,
.sugar-blog-categories a:focus-visible,
.sugar-blog-categories .current-cat > a {
  background: #292929;
  border-color: #292929;
  color: #fff;
}

/* SP */
@media (max-width: 781px) {
  .sugar-blog-categories {
    gap: 8px;
    margin-bottom: 35px !important;
  }

  .sugar-blog-categories a {
    padding: 8px 12px;
    font-size: 11px;
  }
}
/* BLOG: active category */
.sugar-blog-archive .sugar-blog-categories .current-cat > a,
.sugar-blog-archive .sugar-blog-categories a[aria-current="page"] {
  background: #292929;
  border-color: #292929 !important;
  color: #fff;
}
/* ========================================
   BLOG Single
======================================== */

/* Post title */
.sugar-blog-single-title {
  margin: 0 !important;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

/* Post container */
.sugar-blog-article {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 30px 90px;
  box-sizing: border-box;
}

/* Publication date and category */
.sugar-blog-meta {
  gap: 20px;
  margin: 0 0 40px !important;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
  font-size: 11px;
  color: #999;
  letter-spacing: 0.06em;
}

.sugar-blog-meta a {
  color: #777;
  text-decoration: none;
}

.sugar-blog-meta a:hover {
  color: #222;
}

/* Body content */
.sugar-blog-content {
  font-size: 14px;
  line-height: 2;
  color: #555;
  overflow-wrap: anywhere;
}

.sugar-blog-content p {
  margin: 0 0 24px;
}

.sugar-blog-content h2 {
  margin: 45px 0 20px;
  font-size: 20px;
  font-weight: 500;
}

.sugar-blog-content h3 {
  margin: 35px 0 15px;
  font-size: 17px;
  font-weight: 500;
}

.sugar-blog-content a {
  color: #555;
  text-underline-offset: 4px;
}

/* Body images: grayscale */

/* Return to blog archive */
.sugar-blog-back {
  margin: 70px 0 0 !important;
  text-align: center;
}

.sugar-blog-back a {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid #333;
  color: #333;
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: background 0.3s ease,
              color 0.3s ease;
}

.sugar-blog-back a:hover {
  background: #222;
  color: #fff;
}

/* Previous and next post navigation */
.sugar-blog-single-nav {
  display: flex;

  width: 100%;

  margin: 0 !important;
  padding: 0 30px;
  box-sizing: border-box;
  background: #151515;
}

.sugar-blog-single-nav a {
  display: inline-block;
  padding: 20px 0;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-decoration: none;
  transition: transform 0.35s ease,
              opacity 0.35s ease;
}

.sugar-blog-single-nav .post-navigation-link-next {
  margin-left: auto;
}

.sugar-blog-single-nav .post-navigation-link-previous a::before {
  content: "‹";
  margin-right: 12px;
  font-size: 20px;
  vertical-align: -1px;
}

.sugar-blog-single-nav .post-navigation-link-next a::after {
  content: "›";
  margin-left: 12px;
  font-size: 20px;
  vertical-align: -1px;
}

@media (hover: hover) {
  .sugar-blog-single-nav a:hover {
    transform: scale(1.08);
    opacity: 0.8;
  }
}

/* SP */
@media (max-width: 781px) {
  .sugar-blog-single-title {
    font-size: 18px;
  }

  .sugar-blog-article {
    padding: 35px 24px 60px;
  }

  .sugar-blog-meta {
    gap: 12px;
    margin-bottom: 30px !important;
  }

  .sugar-blog-content {
    font-size: 14px;
  }

  .sugar-blog-back {
    margin-top: 45px !important;
  }

}
/* ========================================
   BLOG: body image lightbox
======================================== */

.sugar-blog-content img {

  transition: transform 0.4s ease;
}

.sugar-blog-content img[role="button"] {
  cursor: zoom-in;
}

@media (hover: hover) {
  .sugar-blog-content img[role="button"]:hover {
    transform: scale(1.03);
  }
}

/* Restore color when enlarged */

/* Support keyboard interaction */
.sugar-blog-content img[role="button"]:focus-visible {
  outline: 2px solid #555;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .sugar-blog-content img {
    transition: none;
  }
}
/* BLOG: body image hover effect */
.sugar-blog-content img {
  filter: grayscale(100%);
  cursor: zoom-in;
  transition: filter 0.4s ease,
              transform 0.4s ease;
}

@media (hover: hover) {
  .sugar-blog-content img:hover {
    filter: grayscale(0%);
    transform: scale(1.03);
  }
}

/* Display lightbox images in color */
.sugar-lightbox-img {
  filter: none !important;
}
/* ========================================
   BLOG: body image layout
======================================== */

/* Image block */
.sugar-blog-content .wp-block-image {
  margin: 30px auto 40px !important;
  text-align: center;
}

/* Center images migrated from old site */
.sugar-blog-content img {
  display: block;
  float: none !important;
  margin: 30px auto 40px !important;
  max-width: 100%;
  height: auto;
}

/* Prevent duplicate spacing inside image blocks */
.sugar-blog-content .wp-block-image img {
  margin: 0 auto !important;
}

/* Image caption */
.sugar-blog-content figcaption {
  margin-top: 15px;
  font-size: 11px;
  line-height: 1.8;
  color: #999;
  text-align: center;
}

/* SP */
@media (max-width: 781px) {
  .sugar-blog-content .wp-block-image,
  .sugar-blog-content img {
    margin: 25px auto 30px !important;
  }

  .sugar-blog-content .wp-block-image img {
    margin: 0 auto !important;
  }
}
/* BLOG: center post title */
.sugar-blog-hero .sugar-blog-single-title {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto !important;
  text-align: center !important;
  box-sizing: border-box;
}
/* ========================================
   BLOG: desktop text wrapping around images
======================================== */

@media (min-width: 1025px) {

  .sugar-blog-content img.alignleft {
    float: left !important;
    display: block;
    max-width: 40%;
    height: auto;
    margin: 0 30px 25px 0 !important;
  }

  .sugar-blog-content img.alignright {
    float: right !important;
    display: block;
    max-width: 40%;
    height: auto;
    margin: 0 0 25px 30px !important;
  }

  .sugar-blog-content {
    display: flow-root;
  }

}
/* ========================================
   BLOG: image zoom icon
======================================== */

.sugar-blog-content .sugar-blog-zoom {
  position: relative;
  display: table;
  max-width: 100%;
  margin: 30px auto 40px !important;
  line-height: 0;
}

.sugar-blog-content .sugar-blog-zoom img {
  display: block;
  float: none !important;
  max-width: 100%;
  height: auto;
  margin: 0 !important;
}

/* Zoom icon */
.sugar-blog-zoom-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  pointer-events: none;
  z-index: 2;
}

/* Desktop: preserve text wrapping */
@media (min-width: 1025px) {

  .sugar-blog-content .sugar-blog-zoom.alignleft {
    float: left !important;
    max-width: 40%;
    margin: 0 30px 25px 0 !important;
  }

  .sugar-blog-content .sugar-blog-zoom.alignright {
    float: right !important;
    max-width: 40%;
    margin: 0 0 25px 30px !important;
  }

}

/* Mobile and tablet */
@media (max-width: 1024px) {

  .sugar-blog-content .sugar-blog-zoom {
    float: none !important;
    margin: 25px auto 30px !important;
  }

}
/* BLOG: always show zoom icon */
.sugar-blog-content .sugar-blog-zoom-icon,
.sugar-blog-content .sugar-blog-zoom-icon svg {
  opacity: 1 !important;
  visibility: visible !important;
}

.sugar-blog-content .sugar-blog-zoom-icon {
  display: flex !important;
  z-index: 5;
}

.sugar-blog-content .sugar-blog-zoom-icon svg {
  display: block !important;
  color: #fff !important;
  stroke: currentColor !important;
}
/* BLOG Navigation: mobile adjustments */
@media (max-width: 781px) {

  .sugar-blog-single-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    align-items: center;
    gap: 12px;

  }

  .sugar-blog-single-nav > * {
    flex: 0 1 auto;
    margin: 0 !important;
  }

  .sugar-blog-single-nav .post-navigation-link-next {
    margin-left: auto !important;
  }

  .sugar-blog-single-nav a {
    display: inline-flex;
    align-items: center;
    padding: 15px 0;

    line-height: 1.5;

    white-space: nowrap;
  }

}
/* BLOG Navigation: shared desktop and mobile alignment */
.sugar-blog-single-nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 58px;
}

.sugar-blog-single-nav > * {
  flex: 0 1 auto;
  margin: 0 !important;
}

.sugar-blog-single-nav .post-navigation-link-next {
  margin-left: auto !important;
}

.sugar-blog-single-nav a {
  display: inline-flex;
  align-items: center;
  padding: 15px 0;
  line-height: 1.5;
  white-space: nowrap;
}

/* SP */
@media (max-width: 781px) {
  .sugar-blog-single-nav {
    padding: 0 20px;
    min-height: 54px;
  }

  .sugar-blog-single-nav a {
    font-size: 9px;
    letter-spacing: 0.08em;
  }
}
/* ========================================
   Pages: shared template
======================================== */

.sugar-page-hero {
  padding: 80px 20px;
  background: #f7f7f7;
  text-align: center;
}

.sugar-page-title {
  margin: 0 auto !important;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.6;
  text-align: center;
}

.sugar-page-breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #999;
}

.sugar-page-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sugar-page-breadcrumb a:hover {
  color: #222;
}

.sugar-page-body {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 70px 30px 100px;
  box-sizing: border-box;
}

.sugar-page-content {
  font-size: 14px;
  line-height: 2;
  color: #555;
}

/* SP */
@media (max-width: 781px) {

  .sugar-page-hero {
    padding: 50px 20px;
  }

  .sugar-page-title {
    font-size: 22px;
  }

  .sugar-page-breadcrumb {
    font-size: 9px;
  }

  .sugar-page-body {
    padding: 40px 24px 70px;
  }

}
/* ========================================
   MAKING FLOW
======================================== */

.sugar-making-flow {
  width: 100%;
  max-width: 860px;
  margin: 0 auto !important;
  box-sizing: border-box;
}

/* Introduction */

.sugar-flow-intro {
  margin: 0 0 55px !important;
  text-align: center;
}

.sugar-flow-intro h2 {
  margin: 0 0 18px !important;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.8;
}

.sugar-flow-intro p {
  margin: 0 !important;
  font-size: 13px;
  color: #777;
}

/* Shared step styles */

.sugar-flow-step {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
  margin: 0 !important;
  padding: 35px 0;
  border-top: 1px solid #ddd;
}

/* Step number */

.sugar-flow-number {
  margin: 0 !important;
  font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: #555;
  text-align: center;
}

.sugar-flow-number::before {
  content: "STEP";
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #999;
}

/* Step body text */

.sugar-flow-description {
  min-width: 0;
  margin: 0 !important;
}

.sugar-flow-description h3 {
  margin: 0 0 16px !important;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: #333;
}

.sugar-flow-description p {
  margin: 0 0 15px !important;
  font-size: 14px;
  line-height: 2;
  color: #555;
}

.sugar-flow-description p:last-child {
  margin-bottom: 0 !important;
}

/* Notes */

.sugar-flow-description .sugar-flow-note {
  font-size: 12px;
  line-height: 1.9;
  color: #888;
}

/* OPTION */

.sugar-flow-option {
  border-bottom: 1px solid #ddd;
}

.sugar-flow-option .sugar-flow-number {
  padding-top: 6px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.sugar-flow-option .sugar-flow-number::before {
  display: none;
}

/* Contact call to action */

.sugar-flow-contact {
  margin: 60px 0 0 !important;
  text-align: center;
}

.sugar-flow-contact p {
  margin: 0 0 25px !important;
  font-size: 13px;
  color: #777;
}

.sugar-flow-contact-button .wp-block-button__link {
  padding: 15px 45px;
  border: 1px solid #292929;
  border-radius: 0;
  background: #292929;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.sugar-flow-contact-button .wp-block-button__link:hover {
  background: #fff;
  color: #292929;
}

/* SP */

@media (max-width: 781px) {

  .sugar-flow-intro {
    margin-bottom: 35px !important;
  }

  .sugar-flow-intro h2 {
    font-size: 18px;
    letter-spacing: 0.08em;
  }

  .sugar-flow-intro p {
    font-size: 12px;
  }

  .sugar-flow-step {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 28px 0;
  }

  .sugar-flow-number {
    font-size: 25px;
  }

  .sugar-flow-number::before {
    font-size: 9px;
    margin-bottom: 6px;
  }

  .sugar-flow-description h3 {
    font-size: 16px;
    margin-bottom: 12px !important;
  }

  .sugar-flow-description p {
    font-size: 13px;
  }

  .sugar-flow-description .sugar-flow-note {
    font-size: 11px;
  }

  .sugar-flow-option .sugar-flow-number {
    font-size: 9px;
    letter-spacing: 0.05em;
  }

  .sugar-flow-contact {
    margin-top: 45px !important;
  }

}
/* ========================================
   ABOUT ME
======================================== */

.sugar-about {
  width: 100%;
  max-width: 960px;
  margin: 0 auto !important;
  box-sizing: border-box;
}

/* Shared body styles */

.sugar-about p {
  margin: 0 0 22px !important;
  font-size: 14px;
  line-height: 2.1;
  color: #555;
  overflow-wrap: anywhere;
}

.sugar-about p:last-child {
  margin-bottom: 0 !important;
}

/* Profile */

.sugar-about-profile {
  display: grid;
  grid-template-columns: 36% minmax(0, 1fr);
  align-items: start;
  gap: 50px;
  margin: 0 0 70px !important;
}

.sugar-about-photo,
.sugar-about-intro {
  min-width: 0;
  margin: 0 !important;
}

.sugar-about-photo figure {
  margin: 0 !important;
  overflow: hidden;
}

.sugar-about-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
  transition: filter 0.6s ease;
}

@media (hover: hover) {
  .sugar-about-photo:hover img {
    filter: grayscale(0%);
  }
}

.sugar-about .sugar-about-photo-caption {
  margin: 15px 0 0 !important;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #999;
  text-align: center;
}

/* INTRODUCTION */

.sugar-about .sugar-about-label {
  margin: 0 0 12px !important;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #999;
}

.sugar-about .sugar-about-name {
  margin: 0 0 28px !important;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #333;
}

/* Individual sections */

.sugar-about-section {
  margin: 0 !important;
  padding: 50px 0;
  border-top: 1px solid #ddd;
}

.sugar-about .sugar-about-section-title {
  margin: 0 0 25px !important;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.15em;
  color: #333;
}

.sugar-about .sugar-about-lead {
  margin: 0 0 28px !important;
  font-size: 17px;

  letter-spacing: 0.06em;

  color: #333;
}

/* SKILLS & TOOLS */

.sugar-about-skill-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
  gap: 25px;
  margin: 0 !important;
  padding: 20px 0;
  border-bottom: 1px solid #e5e5e5;
}

.sugar-about-skill-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sugar-about-skill-row h3 {
  margin: 0 !important;
  font-size: 11px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.12em;
  color: #777;
}

.sugar-about-skill-row p {
  margin: 0 !important;
  font-size: 13px;
  line-height: 1.9;
}

/* FAVORITES */

.sugar-about-favorites {
  border-bottom: 1px solid #ddd;
}

/* Button */

.sugar-about-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 60px 0 0 !important;
}

.sugar-about-button .wp-block-button__link {
  min-width: 200px;
  padding: 15px 25px;
  box-sizing: border-box;
  border: 1px solid #292929;
  border-radius: 0;
  background: #292929;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.sugar-about-button .wp-block-button__link:hover {
  background: #fff;
  color: #292929;
}

.sugar-about-button-outline .wp-block-button__link {
  background: #fff;
  color: #292929;
}

.sugar-about-button-outline .wp-block-button__link:hover {
  background: #292929;
  color: #fff;
}

/* SP */

@media (max-width: 781px) {

  .sugar-about-profile {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-bottom: 45px !important;
  }

  .sugar-about-photo {
    width: 100%;
    max-width: 280px;
    margin: 0 auto !important;
  }

  .sugar-about .sugar-about-name {
    font-size: 23px;
    margin-bottom: 22px !important;
  }

  .sugar-about p {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 20px !important;
  }

  .sugar-about .sugar-about-photo-caption {
    font-size: 9px;
    margin-top: 12px !important;
  }

  .sugar-about .sugar-about-label {
    font-size: 10px;
    margin-bottom: 10px !important;
  }

  .sugar-about-section {
    padding: 35px 0;
  }

  .sugar-about .sugar-about-section-title {
    font-size: 18px;
    margin-bottom: 20px !important;
  }

  .sugar-about .sugar-about-lead {
    font-size: 16px;
    margin-bottom: 22px !important;
  }

  .sugar-about-skill-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  .sugar-about-skill-row p {
    font-size: 13px;
  }

  .sugar-about-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 45px !important;
  }

  .sugar-about-button {
    width: 100%;
    max-width: 260px;
  }

  .sugar-about-button .wp-block-button__link {
    width: 100%;
  }

}

/* Reduced motion preferences */

@media (prefers-reduced-motion: reduce) {
  .sugar-about-photo img,
  .sugar-about-button .wp-block-button__link {
    transition: none;
  }
}
/* ABOUT ME: text alignment */

.sugar-about {
  text-align: left;
}

/* Text beside profile */
.sugar-about .sugar-about-intro,
.sugar-about .sugar-about-intro p,
.sugar-about .sugar-about-name {
  text-align: left;
}

/* Section body text */
.sugar-about-section p {
  text-align: left;
}

/* Section headings and lead text */
.sugar-about .sugar-about-section-title,
.sugar-about .sugar-about-lead {
  text-align: center;
}

/* Skills list */
.sugar-about-skill-row h3,
.sugar-about-skill-row p {
  text-align: left;
}

/* Photo caption and FAVORITES */
.sugar-about .sugar-about-photo-caption,
.sugar-about-favorites p {
  text-align: center;
}
/* ========================================
   ABOUT ME: INTRODUCTION layout adjustments
======================================== */

/* Heading */
.sugar-about .sugar-about-intro-heading {
  text-align: center;
  margin: 0 0 40px !important;
}

.sugar-about .sugar-about-intro-heading .sugar-about-label,
.sugar-about .sugar-about-intro-heading .sugar-about-name {
  text-align: center !important;
}

/* Photo and body text */
.sugar-about .sugar-about-profile {
  display: grid;
  grid-template-columns: 36% minmax(0, 1fr);
  align-items: start;
  gap: 40px;
  margin-top: 0 !important;
}

.sugar-about .sugar-about-photo,
.sugar-about .sugar-about-intro {
  margin-top: 0 !important;
}

/* Body text beside photo */
.sugar-about .sugar-about-intro p {
  text-align: left !important;
}

.sugar-about .sugar-about-intro p:first-child {
  margin-top: 0 !important;
}

.sugar-about .sugar-about-intro p:last-child {
  margin-bottom: 0 !important;
}

/* SP */
@media (max-width: 781px) {

  .sugar-about .sugar-about-intro-heading {
    margin-bottom: 30px !important;
  }

  .sugar-about .sugar-about-profile {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sugar-about .sugar-about-photo {
    width: 100%;
    max-width: 280px;
    margin: 0 auto !important;
  }

}
/* ABOUT ME: Japanese subheading */
.sugar-about .sugar-about-lead {
  font-size: 12px !important;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.8;
  color: #777;
  margin-top: 12px !important;
  margin-bottom: 30px !important;
  text-align: center;
}
/* ABOUT ME: spacing between headings */
.sugar-about .sugar-about-section-title {
  margin-bottom: 0 !important;
}

.sugar-about .sugar-about-lead {
  margin-top: 6px !important;
}
/* ABOUT ME: section heading spacing */
.sugar-about .sugar-about-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.sugar-about .sugar-about-lead {
  margin-bottom: 45px !important;
}

/* SP */
@media (max-width: 781px) {
  .sugar-about .sugar-about-section {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .sugar-about .sugar-about-lead {
    margin-bottom: 30px !important;
  }
}

/* ========================================
   PRICE
======================================== */

.sugar-price {
  --price-text: #333;
  --price-subtext: #777;
  --price-border: #ddd;
  --price-light: #f7f7f7;
  --price-dark: #292929;

  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  color: #555;
  font-size: 13px;
  line-height: 2;
  box-sizing: border-box;
}

.sugar-price *,
.sugar-price *::before,
.sugar-price *::after {
  box-sizing: border-box;
}

.sugar-price p {
  margin: 0 0 15px;
}

.sugar-price .sugar-price-note {
  margin: 15px 0 0;
  color: var(--price-subtext);
  font-size: 11px;
  line-height: 1.9;
}

.sugar-price-center {
  text-align: center;
}

/* ========================================
   SECTION / HEADING
======================================== */

.sugar-price-intro {
  padding: 0 0 70px;
  text-align: center;
}

.sugar-price-section {
  padding: 70px 0;
  border-top: 1px solid var(--price-border);
  scroll-margin-top: 100px;
}

.sugar-price-title {
  margin: 0 !important;
  color: var(--price-text);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-align: center;
}

.sugar-price .sugar-price-lead {
  margin: 6px 0 45px !important;
  color: var(--price-subtext);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-align: center;
}

.sugar-price-description {
  max-width: 820px;
  margin: 0 auto 40px;
}

.sugar-price-subsection {
  margin-top: 70px;
}

.sugar-price-subtitle {
  margin: 0 !important;
  color: var(--price-text);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-align: center;
}

.sugar-price .sugar-price-sublead {
  margin: 6px 0 30px !important;
  color: var(--price-subtext);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
}

/* ========================================
   ANCHOR MENU
======================================== */

.sugar-price-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.sugar-price-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 8px;
  border: 1px solid var(--price-dark);
  color: var(--price-text);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.sugar-price-menu a:hover {
  background: var(--price-dark);
  color: #fff;
}

/* ========================================
   WEB DESIGN PLANS
======================================== */

.sugar-price-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  align-items: stretch;
}

.sugar-price-plan {
  display: flex;
  flex-direction: column;
  padding: 35px 30px;
  border: 1px solid #ccc;
}

.sugar-price-plan-heading {
  margin-bottom: 25px;
  text-align: center;
}

.sugar-price-plan-heading h3,
.sugar-price-lp-heading h3 {
  margin: 0 !important;
  color: var(--price-text);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.15em;
}

.sugar-price-plan-heading p,
.sugar-price-lp-heading p {
  margin: 8px 0 0;
  color: var(--price-subtext);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.sugar-price-plan-cost {
  padding: 25px 0;
  border-top: 1px solid var(--price-border);
  text-align: center;
}

.sugar-price-plan-cost p {
  margin: 0 0 8px;
  color: var(--price-subtext);
  font-size: 12px;
}

.sugar-price-main-cost {
  color: var(--price-text);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sugar-price-sub-cost {
  color: var(--price-text);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.sugar-price-main-cost small,
.sugar-price-sub-cost small {
  margin-left: 3px;
  font-size: 13px;
  font-weight: 400;
}

.sugar-price-plan-body {
  padding-top: 25px;
  border-top: 1px solid var(--price-border);
}

.sugar-price-plan-body p:last-child {
  margin-bottom: 0;
}

/* ========================================
   PLAN COMPARISON
======================================== */

.sugar-price-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.sugar-price-comparison {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--price-text);
  font-size: 12px;
  line-height: 1.7;
}

.sugar-price-comparison th,
.sugar-price-comparison td {
  padding: 15px 12px;
  border: 1px solid var(--price-border);
  vertical-align: middle;
}

.sugar-price-comparison thead th {
  background: var(--price-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-align: center;
}

.sugar-price-comparison thead th:first-child {
  width: 46%;
}

.sugar-price-comparison tbody th {
  background: var(--price-light);
  font-weight: 400;
  text-align: left;
}

.sugar-price-comparison tbody td {
  text-align: center;
}

/* ========================================
   SITE STRUCTURE
======================================== */

.sugar-price-sitemap {
  max-width: 720px;
  margin: 35px auto 20px;
  padding: 35px 25px;
  background: var(--price-light);
}

.sugar-price-sitemap-home {
  position: relative;
  width: 160px;
  margin: 0 auto 40px;
  padding: 18px 10px;
  background: var(--price-dark);
  color: #fff;
  text-align: center;
}

.sugar-price-sitemap-home::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 20px;
  background: #aaa;
  content: "";
}

.sugar-price-sitemap span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.sugar-price-sitemap small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.sugar-price-sitemap-children {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.sugar-price-sitemap-children::before {
  position: absolute;
  top: -20px;
  left: calc((100% - 45px) / 8);
  right: calc((100% - 45px) / 8);
  height: 1px;
  background: #aaa;
  content: "";
}

.sugar-price-sitemap-children > div {
  position: relative;
  padding: 15px 5px;
  border: 1px solid #ccc;
  background: #fff;
  text-align: center;
}

.sugar-price-sitemap-children > div::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 21px;
  background: #aaa;
  content: "";
}

/* ========================================
   PAGE VOLUME
======================================== */

.sugar-price-volume-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 40px;
  max-width: 680px;
  margin: 35px auto;
}

.sugar-price-volume-item {
  text-align: center;
}

.sugar-price-volume-item h4 {
  margin: 0;
  color: var(--price-text);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.15em;
}

.sugar-price-volume-item > p {
  margin: 5px 0 20px;
  color: var(--price-subtext);
  font-size: 11px;
}

.sugar-price-wireframe {
  border: 1px solid #ccc;
  background: #fff;
}

.sugar-price-wire-header {
  padding: 10px;
  color: #777;
  font-size: 9px;
  letter-spacing: 0.15em;
}

.sugar-price-wire-title {
  padding: 22px 10px;
  background: #f7f7f7;
  color: #555;
  font-size: 12px;
  letter-spacing: 0.15em;
}

.sugar-price-wire-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 85px;
  padding: 15px 8px;
  border-top: 1px solid #fff;
  background: #eee;
}

.sugar-price-wire-section:nth-of-type(odd) {
  background: #f7f7f7;
}

.sugar-price-wire-section small {
  color: #777;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.sugar-price-wire-section span {
  color: var(--price-text);
  font-size: 11px;
}

.sugar-price-wire-footer {
  padding: 12px;
  background: var(--price-dark);
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.15em;
}

/* ========================================
   LANDING PAGE
======================================== */

.sugar-price-lp {
  padding: 35px;
  border: 1px solid #ccc;
}

.sugar-price-lp-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--price-border);
}

.sugar-price-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 25px;
  margin: 25px 0;
  padding: 0;
  list-style: none;
}

.sugar-price-checklist li {
  position: relative;
  padding-left: 20px;
  font-size: 12px;
}

.sugar-price-checklist li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #777;
  content: "✓";
}

/* ========================================
   PRICE LIST
======================================== */

.sugar-price-list {
  border-bottom: 1px solid var(--price-border);
}

.sugar-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px 30px;
  padding: 25px 0;
  border-top: 1px solid var(--price-border);
}

.sugar-price-row h3 {
  margin: 0 !important;
  color: var(--price-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.sugar-price-amount {
  color: var(--price-text);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sugar-price-amount small {
  color: var(--price-subtext);
  font-size: 11px;
}

.sugar-price-amount.is-estimate {
  font-size: 13px;
  letter-spacing: 0.06em;
}

.sugar-price-row > p {
  grid-column: 1 / -1;
  margin: 0 !important;
  color: #666;
  font-size: 13px;
  line-height: 1.9;
}

.sugar-price-row > .sugar-price-note {
  color: var(--price-subtext);
  font-size: 11px;
}

/* ========================================
   NOTES
======================================== */

.sugar-price-detail {
  padding: 25px 0;
  border-top: 1px solid var(--price-border);
}

.sugar-price-detail:last-child {
  border-bottom: 1px solid var(--price-border);
}

.sugar-price-detail h3 {
  margin: 0 0 12px;
  color: var(--price-text);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.sugar-price-detail p:last-child {
  margin-bottom: 0;
}

/* ========================================
   CONTACT
======================================== */

.sugar-price-contact {
  padding: 70px 0 20px;
  border-top: 1px solid var(--price-border);
  text-align: center;
}

.sugar-price-contact-button {
  display: inline-block;
  min-width: 200px;
  margin-top: 20px;
  padding: 15px 30px;
  border: 1px solid var(--price-dark);
  background: var(--price-dark);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.sugar-price-contact-button:hover {
  background: #fff;
  color: var(--price-dark);
}

.sugar-price a:focus-visible {
  outline: 2px solid #777;
  outline-offset: 4px;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1024px) {

  .sugar-price-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sugar-price-plan {
    padding: 30px 20px;
  }

}

/* ========================================
   SP
======================================== */

@media (max-width: 781px) {

  .sugar-price-intro {
    padding-bottom: 45px;
  }

  .sugar-price-intro br,
  .sugar-price-contact br {
    display: none;
  }

  .sugar-price-section {
    padding: 45px 0;
    scroll-margin-top: 80px;
  }

  .sugar-price-title {
    font-size: 19px;
    letter-spacing: 0.12em;
  }

  .sugar-price .sugar-price-lead {
    margin-bottom: 30px !important;
    font-size: 11px;
  }

  .sugar-price-description {
    margin-bottom: 30px;
  }

  .sugar-price-subsection {
    margin-top: 45px;
  }

  .sugar-price-subtitle {
    font-size: 16px;
  }

  .sugar-price-menu {
    gap: 10px;
    margin-top: 30px;
  }

  .sugar-price-menu a {
    gap: 5px;
    font-size: 9px;
    letter-spacing: 0.05em;
  }

  .sugar-price-plans {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sugar-price-plan {
    padding: 30px 24px;
  }

  .sugar-price-main-cost {
    font-size: 30px;
  }

  .sugar-price-sub-cost {
    font-size: 23px;
  }

  .sugar-price-comparison {
    font-size: 10px;
  }

  .sugar-price-comparison th,
  .sugar-price-comparison td {
    padding: 12px 6px;
    overflow-wrap: anywhere;
  }

  .sugar-price-comparison thead th {
    font-size: 9px;
    letter-spacing: 0.02em;
  }

  .sugar-price-sitemap {
    padding: 25px 15px;
  }

  .sugar-price-sitemap-home {
    margin-bottom: 25px;
  }

  .sugar-price-sitemap-home::after,
  .sugar-price-sitemap-children::before,
  .sugar-price-sitemap-children > div::before {
    display: none;
  }

  .sugar-price-sitemap-children {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sugar-price-volume-grid {
    gap: 15px;
    margin: 25px auto;
  }

  .sugar-price-volume-item > p {
    font-size: 10px;
  }

  .sugar-price-wire-section {
    min-height: 75px;
    padding: 12px 5px;
  }

  .sugar-price-wire-section span {
    font-size: 10px;
  }

  .sugar-price-wire-section small {
    font-size: 8px;
  }

  .sugar-price-lp {
    padding: 25px 20px;
  }

  .sugar-price-lp-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .sugar-price-checklist {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .sugar-price-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 22px 0;
  }

  .sugar-price-row h3 {
    font-size: 14px;
  }

  .sugar-price-amount {
    font-size: 18px;
    text-align: left;
  }

  .sugar-price-contact {
    padding: 45px 0 10px;
  }

}

@media (prefers-reduced-motion: reduce) {

  .sugar-price a {
    transition: none;
  }

}
/* PRICE: remove duplicate section dividers */

.sugar-price-list {
  border-bottom: none;
}

.sugar-price-detail:last-child {
  border-bottom: none;
}
/* PRICE: pricing plan border */

.sugar-price-plan,
.sugar-price-lp {
  border: 1px solid #aaa;
}
/* ==================================================
   FAQ PAGE
================================================== */

.sugar-faq {
  --faq-text: #333;
  --faq-subtext: #777;
  --faq-border: #ddd;
  --faq-light: #f7f7f7;
  --faq-dark: #292929;

  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  color: #555;
  font-size: 13px;
  line-height: 2;
  box-sizing: border-box;
}

.sugar-faq *,
.sugar-faq *::before,
.sugar-faq *::after {
  box-sizing: border-box;
}

.sugar-faq p {
  margin: 0 0 15px;
}

/* INTRODUCTION
-------------------------------------------------- */

.sugar-faq-intro {
  padding: 0 0 70px;
  text-align: center;
}

/* SECTION
-------------------------------------------------- */

.sugar-faq-section {
  padding: 70px 0;
  border-top: 1px solid var(--faq-border);
  scroll-margin-top: 100px;
}

.sugar-faq-title {
  margin: 0 !important;
  color: var(--faq-text);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .16em;
  text-align: center;
}

.sugar-faq .sugar-faq-lead {
  margin: 6px 0 45px !important;
  color: var(--faq-subtext);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .08em;
  text-align: center;
}

/* ANCHOR MENU
-------------------------------------------------- */

.sugar-faq-menu {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 40px;
}

.sugar-faq-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 8px;
  border: 1px solid var(--faq-dark);
  color: var(--faq-text);
  font-size: 10px;
  letter-spacing: .1em;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background .3s, color .3s;
}

.sugar-faq-menu a:hover {
  background: var(--faq-dark);
  color: #fff;
}

/* ACCORDION
-------------------------------------------------- */

.sugar-faq-item {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--faq-border);
}

.sugar-faq-item:last-child {
  border-bottom: none;
}

.sugar-faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 80px;
  padding: 22px 50px 22px 45px;
  color: var(--faq-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .03em;
  list-style: none;
  cursor: pointer;
  transition: background .3s;
}

.sugar-faq-item summary::-webkit-details-marker {
  display: none;
}

.sugar-faq-item summary::marker {
  content: "";
}

/* QUESTION MARK
-------------------------------------------------- */

.sugar-faq-item summary::before {
  position: absolute;
  top: 50%;
  left: 12px;
  color: var(--faq-text);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  content: "Q.";
}

/* OPEN / CLOSE ICON
-------------------------------------------------- */

.sugar-faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 24px;
  color: var(--faq-subtext);
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
  content: "+";
}

.sugar-faq-item[open] summary::after {
  content: "−";
}

.sugar-faq-item[open] summary {
  background: var(--faq-light);
}

@media (hover: hover) {
  .sugar-faq-item summary:hover {
    background: var(--faq-light);
  }
}

/* ANSWER
-------------------------------------------------- */

.sugar-faq-answer {
  position: relative;
  padding: 25px 35px 30px 45px;
  border-top: 1px solid #e5e5e5;
  background: var(--faq-light);
  color: #555;
  font-size: 13px;
  line-height: 2;
}

.sugar-faq-answer::before {
  position: absolute;
  top: 28px;
  left: 12px;
  color: var(--faq-subtext);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  content: "A.";
}

.sugar-faq-answer p {
  margin: 0 0 15px;
}

.sugar-faq-answer p:last-child {
  margin-bottom: 0;
}

.sugar-faq-answer ul {
  margin: 15px 0 20px;
  padding-left: 20px;
  list-style: disc;
}

.sugar-faq-answer li {
  margin-bottom: 5px;
}

.sugar-faq-answer a {
  color: var(--faq-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sugar-faq-answer a:hover {
  color: var(--faq-subtext);
}

/* CONTACT
-------------------------------------------------- */

.sugar-faq-contact {
  padding: 70px 0 20px;
  border-top: 1px solid var(--faq-border);
  text-align: center;
}

.sugar-faq-contact-button {
  display: inline-block;
  min-width: 200px;
  margin-top: 20px;
  padding: 15px 30px;
  border: 1px solid var(--faq-dark);
  background: var(--faq-dark);
  color: #fff;
  font-size: 11px;
  letter-spacing: .15em;
  text-decoration: none;
  transition: background .3s, color .3s;
}

.sugar-faq-contact-button:hover {
  background: #fff;
  color: var(--faq-dark);
}

/* ACCESSIBILITY
-------------------------------------------------- */

.sugar-faq a:focus-visible,
.sugar-faq summary:focus-visible {
  outline: 2px solid #777;
  outline-offset: 4px;
}

/* TABLET
-------------------------------------------------- */

@media (max-width: 1024px) {

  .sugar-faq-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sugar-faq-menu a:last-child {
    grid-column: 1 / -1;
  }

}

/* SMARTPHONE
-------------------------------------------------- */

@media (max-width: 781px) {

  .sugar-faq-intro {
    padding-bottom: 45px;
  }

  .sugar-faq-intro br,
  .sugar-faq-contact br {
    display: none;
  }

  .sugar-faq-section {
    padding: 45px 0;
    scroll-margin-top: 80px;
  }

  .sugar-faq-title {
    font-size: 19px;
    letter-spacing: .12em;
  }

  .sugar-faq .sugar-faq-lead {
    margin-bottom: 30px !important;
    font-size: 11px;
  }

  .sugar-faq-menu {
    gap: 10px;
    margin-top: 30px;
  }

  .sugar-faq-menu a {
    gap: 5px;
    font-size: 9px;
    letter-spacing: .05em;
  }

  .sugar-faq-item summary {
    min-height: 72px;
    padding: 20px 35px 20px 32px;
    font-size: 13px;
  }

  .sugar-faq-item summary::before {
    left: 5px;
    font-size: 20px;
  }

  .sugar-faq-item summary::after {
    right: 5px;
    font-size: 19px;
  }

  .sugar-faq-answer {
    padding: 20px 15px 25px 32px;
    font-size: 12px;
    line-height: 2;
  }

  .sugar-faq-answer::before {
    top: 24px;
    left: 5px;
    font-size: 20px;
  }

  .sugar-faq-contact {
    padding: 45px 0 10px;
  }

}

/* REDUCED MOTION
-------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .sugar-faq a,
  .sugar-faq summary {
    transition: none;
  }

}
/* ==================================================
   VOLUNTEER PAGE
================================================== */

.sugar-volunteer {
  --volunteer-text: #333;
  --volunteer-subtext: #777;
  --volunteer-border: #ddd;
  --volunteer-light: #f7f7f7;
  --volunteer-dark: #292929;

  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  color: #555;
  font-size: 13px;
  line-height: 2;
  box-sizing: border-box;
}

.sugar-volunteer *,
.sugar-volunteer *::before,
.sugar-volunteer *::after {
  box-sizing: border-box;
}

.sugar-volunteer p {
  margin: 0 0 15px;
}

/* INTRODUCTION
-------------------------------------------------- */

.sugar-volunteer-intro {
  padding: 0 0 70px;
  text-align: center;
}

.sugar-volunteer-intro p:not(.sugar-volunteer-lead) {
  margin-bottom: 25px;
  line-height: 2.4;
}

.sugar-volunteer-intro p:last-child {
  margin-bottom: 0;
}

/* SECTION
-------------------------------------------------- */

.sugar-volunteer-section {
  padding: 70px 0;
  border-top: 1px solid var(--volunteer-border);
}

.sugar-volunteer-title {
  margin: 0 !important;
  color: var(--volunteer-text);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .16em;
  text-align: center;
}

.sugar-volunteer .sugar-volunteer-lead {
  margin: 6px 0 45px !important;
  color: var(--volunteer-subtext);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .08em;
  text-align: center;
}

.sugar-volunteer-text {
  max-width: 820px;
  margin: 0 auto;
}

.sugar-volunteer-text p:last-child {
  margin-bottom: 0;
}

.sugar-volunteer-center {
  text-align: center;
}

/* MESSAGE COPY
-------------------------------------------------- */

.sugar-volunteer-copy {
  margin: 0 0 40px !important;
  color: var(--volunteer-text);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .1em;
  text-align: center;
}

.sugar-volunteer .sugar-volunteer-subcopy {
  margin: 0 0 20px;
  color: var(--volunteer-text);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .05em;
}

/* AREAS OF INTEREST
-------------------------------------------------- */

.sugar-volunteer-areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.sugar-volunteer-area {
  display: flex;
  flex-direction: column;
  padding: 35px 30px;
  border: 1px solid #ccc;
}

.sugar-volunteer-number {
  display: block;
  margin-bottom: 20px;
  color: #aaa;
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .05em;
  font-variant-numeric: tabular-nums;
}

.sugar-volunteer-area h3 {
  margin: 0 !important;
  color: var(--volunteer-text);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .1em;
}

.sugar-volunteer .sugar-volunteer-area-label {
  margin: 6px 0 25px;
  color: var(--volunteer-subtext);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .04em;
}

.sugar-volunteer-area-body {
  flex: 1;
  padding-top: 25px;
  border-top: 1px solid var(--volunteer-border);
}

.sugar-volunteer .sugar-volunteer-area-copy {
  margin-bottom: 20px;
  color: var(--volunteer-text);
  font-size: 14px;
  line-height: 2;
}

.sugar-volunteer-area-body p:last-child {
  margin-bottom: 0;
}

/* DESIGN SUPPORT
-------------------------------------------------- */

.sugar-volunteer-support {
  max-width: 820px;
  margin: 35px auto;
}

.sugar-volunteer-support-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: baseline;
  gap: 20px;
  padding: 25px 0;
  border-top: 1px solid var(--volunteer-border);
}

.sugar-volunteer-support-row:last-child {
  border-bottom: 1px solid var(--volunteer-border);
}

.sugar-volunteer-support-row h3 {
  margin: 0 !important;
  color: var(--volunteer-text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .1em;
}

.sugar-volunteer-support-row p {
  margin: 0;
}

.sugar-volunteer .sugar-volunteer-note {
  margin: 20px 0 0;
  color: var(--volunteer-subtext);
  font-size: 11px;
  line-height: 1.9;
}

/* MESSAGE
-------------------------------------------------- */

.sugar-volunteer-message-section {
  padding: 70px 0;
}

.sugar-volunteer-message {
  padding: 65px 35px;
  background: var(--volunteer-light);
  text-align: center;
}

.sugar-volunteer-message p:not(.sugar-volunteer-lead) {
  margin-bottom: 25px;
  line-height: 2.4;
}

.sugar-volunteer-message p:last-child {
  margin-bottom: 0;
}

/* CONTACT
-------------------------------------------------- */

.sugar-volunteer-contact {
  padding: 70px 0 20px;
  border-top: 1px solid var(--volunteer-border);
  text-align: center;
}

.sugar-volunteer-contact-button {
  display: inline-block;
  min-width: 200px;
  margin-top: 20px;
  padding: 15px 30px;
  border: 1px solid var(--volunteer-dark);
  background: var(--volunteer-dark);
  color: #fff;
  font-size: 11px;
  letter-spacing: .15em;
  text-decoration: none;
  transition: background .3s, color .3s;
}

.sugar-volunteer-contact-button:hover {
  background: #fff;
  color: var(--volunteer-dark);
}

.sugar-volunteer a:focus-visible {
  outline: 2px solid #777;
  outline-offset: 4px;
}

/* TABLET
-------------------------------------------------- */

@media (max-width: 1024px) {

  .sugar-volunteer-area {
    padding: 30px 25px;
  }

  .sugar-volunteer-area h3 {
    font-size: 15px;
  }

  .sugar-volunteer-support-row {
    grid-template-columns: 230px minmax(0, 1fr);
  }

}

/* SMARTPHONE
-------------------------------------------------- */

@media (max-width: 781px) {

  .sugar-volunteer-intro {
    padding-bottom: 45px;
  }

  .sugar-volunteer-section {
    padding: 45px 0;
  }

  .sugar-volunteer-title {
    font-size: 19px;
    letter-spacing: .12em;
  }

  .sugar-volunteer .sugar-volunteer-lead {
    margin-bottom: 30px !important;
    font-size: 11px;
  }

  .sugar-volunteer-copy {
    margin-bottom: 30px !important;
    font-size: 20px;
    letter-spacing: .05em;
  }

  .sugar-volunteer .sugar-volunteer-subcopy {
    font-size: 14px;
  }

  .sugar-volunteer-intro br,
  .sugar-volunteer-center br,
  .sugar-volunteer-message br,
  .sugar-volunteer-contact br {
    display: none;
  }

  .sugar-volunteer-intro p:not(.sugar-volunteer-lead),
  .sugar-volunteer-message p:not(.sugar-volunteer-lead) {
    margin-bottom: 20px;
    line-height: 2.2;
  }

  .sugar-volunteer-areas {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
  }

  .sugar-volunteer-area {
    padding: 25px;
  }

  .sugar-volunteer-number {
    margin-bottom: 15px;
    font-size: 30px;
  }

  .sugar-volunteer-area h3 {
    font-size: 15px;
  }

  .sugar-volunteer .sugar-volunteer-area-label {
    margin-bottom: 20px;
  }

  .sugar-volunteer-area-body {
    padding-top: 20px;
  }

  .sugar-volunteer-support {
    margin: 25px auto;
  }

  .sugar-volunteer-support-row {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 20px 0;
  }

  .sugar-volunteer-support-row h3 {
    font-size: 12px;
  }

  .sugar-volunteer-message {
    padding: 40px 20px;
  }

  .sugar-volunteer-contact {
    padding: 45px 0 10px;
  }

}

/* REDUCED MOTION
-------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .sugar-volunteer a {
    transition: none;
  }

}
/* VOLUNTEER - MESSAGE vertical line */

.sugar-volunteer-message .sugar-volunteer-lead {
  margin-bottom: 35px !important;
}

.sugar-volunteer-message .sugar-volunteer-lead::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  margin: 30px auto 0;
  background: #aaa;
}

@media (max-width: 781px) {

  .sugar-volunteer-message .sugar-volunteer-lead {
    margin-bottom: 25px !important;
  }

  .sugar-volunteer-message .sugar-volunteer-lead::after {
    height: 30px;
    margin-top: 25px;
  }

}
/* SOME PAST WORKS: hide zoom icon */

.sugar-footer-works .lightbox-trigger:not(:focus-visible) {
  opacity: 0 !important;
}
/* ==================================================
   HOME - ABOUT ME layout adjustment
================================================== */

.home .sugar-about__title {
  margin: 0 !important;
  text-align: center;
}

.home .sugar-about__subtitle {
  margin: 6px 0 40px !important;
  text-align: center;
}

.home .sugar-about__intro {
  max-width: 800px;
  margin: 0 auto 20px !important;
  text-align: center;
  line-height: 2.2;
}

.home .sugar-about__more {
  margin: 30px 0 45px !important;
  text-align: center;
  font-size: 11px;
  letter-spacing: .15em;
}

.home .sugar-about__more a {
  color: #555;
  text-decoration: none;
  transition: opacity .3s;
}

.home .sugar-about__more a:hover {
  opacity: .5;
}

/* SMARTPHONE
-------------------------------------------------- */

@media (max-width: 781px) {

  .home .sugar-about__subtitle {
    margin-bottom: 30px !important;
  }

  .home .sugar-about__intro {
    text-align: left;
    line-height: 2;
  }

  .home .sugar-about__intro br {
    display: none;
  }

  .home .sugar-about__more {
    margin: 25px 0 35px !important;
  }

}
.home .sugar-about__intro a.sugar-about__more-link {
  display: inline-block;
  margin-left: 4px;
  color: #555;
  font-size: 10px !important;
  letter-spacing: .05em;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .3s;
}

.home .sugar-about__intro a.sugar-about__more-link:hover {
  opacity: .5;
}
/* ========================================
   HOME: spacing below header
======================================== */

.home .sugar-page-body {
  padding-top: 0;
}

.home .sugar-page {
  margin-block-start: 0 !important;
}
/* ========================================
   HOME: subtitles and portfolio link
======================================== */

/* WHY CHOOSE ME: subtitle */
.home .sugar-why__subtitle {
  margin: 6px 0 40px !important;
  color: #ccc;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
}

/* MY PICKUP WORK: subtitle */
.home .sugar-pickup-heading h2 {
  margin-bottom: 0 !important;
}

.home .sugar-pickup-subtitle {
  margin: 6px 0 0 !important;
  color: #777;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
}

/* VIEW ALL PORTFOLIO */
.home .sugar-pickup-more {
  width: 100%;
  max-width: none !important;
  margin: 35px 0 0 !important;
  text-align: right;
}

.home .sugar-pickup-more a {

  gap: 15px;
  color: #333;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .15em;
  text-decoration: none;
  transition: opacity .3s ease;
}

/* Arrow */
.home .sugar-pickup-more a::after {
  content: "⟶";
  display: inline-block;
  font-size: 24px;
  line-height: 1;
  transition: transform .3s ease;
}

/* Hover state */
@media (hover: hover) {
  .home .sugar-pickup-more a:hover {
    opacity: .6;
  }

  .home .sugar-pickup-more a:hover::after {
    transform: translateX(5px);
  }
}

/* Mobile devices */
@media (max-width: 781px) {
  .home .sugar-why__subtitle {
    margin-bottom: 30px !important;
    font-size: 11px;
  }

  .home .sugar-pickup-subtitle {
    font-size: 11px;
  }

  .home .sugar-pickup-more {
    margin-top: 25px !important;
  }

  .home .sugar-pickup-more a {
    font-size: 10px;
    gap: 10px;
  }
}

/* Support reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .home .sugar-pickup-more a,
  .home .sugar-pickup-more a::after {
    transition: none;
  }

  .home .sugar-pickup-more a:hover::after {
    transform: none;
  }
}
/* ========================================
   HOME: consistent section headings
======================================== */

/* Main title */
.home .sugar-about__title,
.home .sugar-why__title,
.home .sugar-pickup-heading h2 {
  margin: 0 !important;
  font-size: 25px !important;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .2em;
  text-align: center !important;
}

/* Reset code element in WHY CHOOSE ME */
.home .sugar-why__title code {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background: none;
  padding: 0;
}

/* Subtitle */
.home .sugar-about__subtitle,
.home .sugar-why__subtitle,
.home .sugar-pickup-subtitle {
  width: 100%;
  max-width: none !important;
  margin: 15px auto 40px !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .1em;
  text-align: center !important;
  color: #777;
}

/* Change text color only for WHY CHOOSE ME */
.home .sugar-why__subtitle {
  color: #aaa;
}

/* VIEW ALL PORTFOLIO */
.home .sugar-pickup-more a {
  font-size: 13px !important;
}

/* Mobile devices */
@media (max-width: 781px) {
  .home .sugar-about__title,
  .home .sugar-why__title,
  .home .sugar-pickup-heading h2 {
    font-size: 22px !important;
  }

  .home .sugar-about__subtitle,
  .home .sugar-why__subtitle,
  .home .sugar-pickup-subtitle {
    margin: 12px auto 30px !important;
    font-size: 11px !important;
  }

  .home .sugar-pickup-more a {
    font-size: 12px !important;
  }
}
/* ========================================
   HOME: heading and arrow positioning
======================================== */

/* ABOUT ME: reset spacing below title */
body.home .sugar-about h2.sugar-about__title {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Unify spacing above subtitles */
body.home .sugar-about .sugar-about__subtitle,
body.home .sugar-why .sugar-why__subtitle,
body.home .sugar-pickup-heading .sugar-pickup-subtitle {
  margin-top: 15px !important;
}

/* MY PICKUP WORK: center alignment */
body.home .sugar-pickup-heading {
  width: 100%;
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
}

body.home .sugar-pickup-heading h2,
body.home .sugar-pickup-heading .sugar-pickup-subtitle {
  width: 100%;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  text-align: center !important;
  box-sizing: border-box;
}

/* VIEW ALL PORTFOLIO: center arrow */
.home .sugar-pickup-more a {
  display: inline-flex;
  align-items: center;
  line-height: 1.5;
}

.home .sugar-pickup-more a::after {
  content: "";
  display: block;
  width: 24px;
  height: 8px;
  flex-shrink: 0;
  background: currentColor;
  clip-path: polygon(
    0 44%,
    83% 44%,
    83% 0,
    100% 50%,
    83% 100%,
    83% 56%,
    0 56%
  );
}

/* Mobile devices */
@media (max-width: 781px) {
  body.home .sugar-about .sugar-about__subtitle,
  body.home .sugar-why .sugar-why__subtitle,
  body.home .sugar-pickup-heading .sugar-pickup-subtitle {
    margin-top: 12px !important;
  }
}
/* ========================================
   HOME: WHY CHOOSE ME link
======================================== */

.home .sugar-why__link {
  text-align: center !important;
}

.home .sugar-why__link a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 10px !important;
  font-weight: 400;
  letter-spacing: .15em;
  line-height: 1.5;
  text-decoration: none;
  transition: opacity .3s ease;
}

/* Arrow */
.home .sugar-why__link a::after {
  content: "";
  display: block;
  width: 24px;
  height: 8px;
  flex-shrink: 0;
  background: currentColor;
  clip-path: polygon(
    0 44%,
    83% 44%,
    83% 0,
    100% 50%,
    83% 100%,
    83% 56%,
    0 56%
  );
  transition: transform .3s ease;
}

/* Hover state */
@media (hover: hover) {
  .home .sugar-why__link a:hover {
    opacity: .6;
  }

  .home .sugar-why__link a:hover::after {
    transform: translateX(5px);
  }
}

/* Mobile devices */
@media (max-width: 781px) {
  .home .sugar-why__link a {
    font-size: 10px !important;
  }
}

/* Support reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .home .sugar-why__link a,
  .home .sugar-why__link a::after {
    transition: none;
  }

  .home .sugar-why__link a:hover::after {
    transform: none;
  }
}
/* WHY CHOOSE ME: align link and arrow horizontally */
body.home .sugar-why .sugar-why__link a {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}

body.home .sugar-why .sugar-why__link a::after {
  display: inline-block !important;
  position: static !important;
  margin: 0 !important;
  flex-shrink: 0;
}
/* ========================================
   HOME: consistent button hover effects
======================================== */

body.home .sugar-hero__button,
body.home .sugar-posts-grid .sugar-post-content .wp-block-read-more {
  background: #222 !important;
  color: #fff !important;
  border: 1px solid #222 !important;
  border-radius: 0 !important;
  box-sizing: border-box;
  transition:
    background-color .3s ease,
    color .3s ease,
    border-color .3s ease;
}

/* Hover state */
@media (hover: hover) {
  body.home .sugar-hero__button:hover,
  body.home .sugar-posts-grid .sugar-post-content .wp-block-read-more:hover {
    background: #fff !important;
    color: #222 !important;
    border-color: #222 !important;
  }
}

/* Keyboard interaction */
body.home .sugar-hero__button:focus-visible,
body.home .sugar-posts-grid .sugar-post-content .wp-block-read-more:focus-visible {
  background: #fff !important;
  color: #222 !important;
}

/* Support reduced motion preferences */

/* HOME: consistent button scaling animation */
body.home .sugar-hero__button,
body.home .sugar-posts-grid .sugar-post-content .wp-block-read-more {
  transition:
    background-color .3s ease,
    color .3s ease,
    border-color .3s ease,
    transform .3s ease;
  transform-origin: center;
}

@media (hover: hover) {
  body.home .sugar-hero__button:hover,
  body.home .sugar-posts-grid .sugar-post-content .wp-block-read-more:hover {
    transform: scale(1.05) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .sugar-hero__button,
  body.home .sugar-posts-grid .sugar-post-content .wp-block-read-more {
    transition: none;
    transform: none !important;
  }
}
/* ========================================
   HOME: mobile button and link alignment
======================================== */

@media (max-width: 781px) {

  /* Blog: center READ MORE */
  body.home .sugar-posts-grid .sugar-post-content .wp-block-read-more {
    display: flex !important;
    width: fit-content;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* WHY CHOOSE ME: right-align link */
  body.home .sugar-why .sugar-why__link {
    width: 100%;
    max-width: none !important;
    text-align: right !important;
  }

  body.home .sugar-why .sugar-why__link a {
    font-size: 11px !important;
  }

/* HOME: mobile spacing above WHY CHOOSE ME link */

  body.home .sugar-why .wp-block-column p:not(.sugar-why__link) {
    margin-bottom: 0 !important;
  }

  body.home .sugar-why .sugar-why__link {
    margin-top: 15px !important;
    padding-top: 0 !important;
  }

/* HOME: mobile MY PICKUP WORK spacing */

  body.home .sugar-pickup-heading {
    margin-bottom: 35px !important;
    padding-bottom: 0 !important;
  }

  body.home .sugar-pickup-subtitle {
    margin-bottom: 0 !important;
  }

  body.home .sugar-home-portfolio {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

}
/* ========================================
   HOME: blog archive link
======================================== */

body.home .sugar-about p.sugar-blog-more {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100vw - 60px)) !important;
  max-width: none !important;
  margin: 30px 0 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  text-align: right !important;
}

@media (max-width: 781px) {
  body.home .sugar-about p.sugar-blog-more {
    width: calc(100% + 40px) !important;
    margin-top: 15px !important;
    left: 50%;
    transform: translateX(-50%);
  }
}
/* ========================================
   CONTACT PAGE
======================================== */

.sugar-contact {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  color: #333;
  font-size: 13px;
  line-height: 2;
}

/* INTRODUCTION */

.sugar-contact-intro {
  text-align: center;
  padding: 0 0 50px;
}

.sugar-contact-intro h2 {
  margin: 0 !important;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .16em;
}

.sugar-contact-intro .sugar-contact-lead {
  margin: 6px 0 35px !important;
  font-size: 12px;
  color: #777;
}

.sugar-contact-lead::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  margin: 30px auto 0;
  background: #aaa;
}

.sugar-contact-intro p {
  margin: 0 0 15px;
}

/* FORM */

.sugar-contact-form {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  box-sizing: border-box;
  font-size: 13px;
  color: #333;
}

.sugar-contact-form p {
  margin: 0;
}

.sugar-contact-field label {
  display: block;
}

/* LABEL */

.sugar-contact-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.6;
}

.sugar-contact-label-ja {
  display: block;
  margin: 3px 0 12px;
  font-size: 11px;
  color: #777;
}

.sugar-required {
  color: #a65c5c;
}

/* INPUT */

.sugar-contact-form input[type="text"],
.sugar-contact-form input[type="email"],
.sugar-contact-form input[type="tel"],
.sugar-contact-form input[type="date"],
.sugar-contact-form select,
.sugar-contact-form textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fafafa;
  color: #333;
  font-family: inherit;
  font-size: 13px;
  box-sizing: border-box;
  transition: border-color .3s, background .3s;
}

.sugar-contact-form textarea {
  min-height: 200px;
  resize: vertical;
}

.sugar-contact-form input:focus,
.sugar-contact-form select:focus,
.sugar-contact-form textarea:focus {
  outline: none;
  border-color: #777;
  background: #fff;
}

/* REQUIRED / PRIVACY */

.sugar-contact-form .sugar-contact-required-note {
  margin: 10px 0 30px;
  font-size: 11px;
  color: #777;
}

.sugar-contact-privacy {
  text-align: center;
  margin: 35px 0;
  font-size: 12px;
}

.sugar-contact-privacy .wpcf7-list-item {
  margin: 0;
}

.sugar-contact-privacy input[type="checkbox"] {
  accent-color: #292929;
  margin-right: 8px;
}

/* SEND BUTTON */

.sugar-contact-submit {
  position: relative;
  margin: 40px 0 0;
  text-align: center;
}

.sugar-contact-submit input[type="submit"] {
  display: inline-block;
  min-width: 220px;
  padding: 16px 35px;
  border: 1px solid #292929;
  border-radius: 0;
  background: #292929;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: .15em;
  cursor: pointer;
  transition: background .3s, color .3s, transform .3s;
}

.sugar-contact-submit input[type="submit"]:not(:disabled):hover {
  background: #fff;
  color: #292929;
  transform: scale(1.04);
}

.sugar-contact-submit input[type="submit"]:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.sugar-contact-submit .wpcf7-spinner {
  position: absolute;
  margin: 12px 0 0 10px;
}

/* TURNSTILE */

.sugar-contact-form .wpcf7-turnstile {
  display: flex;
  justify-content: center;
}

/* NOTICE */

.sugar-contact-notice {
  max-width: 720px;
  margin: 50px auto 0;
  padding-top: 30px;
  border-top: 1px solid #ddd;
  font-size: 12px;
  line-height: 2;
  color: #777;
}

.sugar-contact-notice p {
  margin: 0;
}

/* VALIDATION */

.sugar-contact-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 11px;
  color: #a65c5c;
}

/* SP */

@media (max-width: 781px) {

  .sugar-contact-intro {
    padding-bottom: 35px;
  }

  .sugar-contact-intro h2 {
    font-size: 19px;
    letter-spacing: .12em;
  }

  .sugar-contact-intro .sugar-contact-lead {
    font-size: 11px;
    margin-bottom: 25px !important;
  }

  .sugar-contact-lead::after {
    height: 30px;
    margin-top: 25px;
  }

  .sugar-contact-intro p br,
  .sugar-contact-notice br {
    display: none;
  }

  .sugar-contact-field {
    margin-bottom: 25px;
  }

  .sugar-contact-form input[type="text"],
  .sugar-contact-form input[type="email"],
  .sugar-contact-form input[type="tel"],
  .sugar-contact-form input[type="date"],
  .sugar-contact-form select,
  .sugar-contact-form textarea {
    font-size: 16px;
  }

  .sugar-contact-form textarea {
    min-height: 180px;
  }

  .sugar-contact-submit {
    margin-top: 30px;
  }

  .sugar-contact-notice {
    margin-top: 35px;
    padding-top: 25px;
    font-size: 11px;
  }

}
/* ========================================
   CONTACT: fine-tune labels and spacing
======================================== */

.sugar-contact-field label br {
  display: none;
}

.sugar-contact-label {
  margin: 0 !important;
  line-height: 1.5;
}

.sugar-contact-label-ja {
  margin: 4px 0 12px !important;
  line-height: 1.5;
}

.sugar-contact-field {
  margin-bottom: 30px;
}

.sugar-contact-field .wpcf7-form-control-wrap {
  display: block;
}
/* CONTACT: dropdown arrow */

.sugar-contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 10px 7px;
}

.sugar-contact-form select:focus {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 10px 7px;
}
/* ========================================
   ABOUT ME：INTRODUCTION
======================================== */

.sugar-about .sugar-page-intro-heading {
  margin: 0 !important;
  padding: 0 !important;
  text-align: center;
}

/* Remove upper vertical line */
.sugar-about .sugar-page-intro-heading::before {
  content: none !important;
  display: none !important;
}

/* English heading */
.sugar-about .sugar-page-intro-title {
  margin: 0 !important;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .16em;
  line-height: 1.5;
}

/* Japanese heading */
.sugar-about .sugar-page-intro-subtitle {
  margin: 6px 0 0 !important;
  font-size: 12px;
  font-weight: 400;
  color: #777;
  line-height: 1.8;
}

/* Vertical line below heading */
.sugar-about .sugar-page-intro-heading::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: #aaa;
  margin: 35px auto 40px;
}

/* SP */
@media (max-width: 781px) {
  .sugar-about .sugar-page-intro-title {
    font-size: 19px;
  }

  .sugar-about .sugar-page-intro-subtitle {
    font-size: 11px;
  }

  .sugar-about .sugar-page-intro-heading::after {
    height: 30px;
    margin: 25px auto 30px;
  }
}
/* ABOUT ME: remove unnecessary introductory vertical line */
.sugar-about::before {
  content: none !important;
  display: none !important;
}
/* ABOUT ME: introductory spacing */
.page-id-15 .sugar-about,
.page-id-15 .sugar-about-intro-heading {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
/* ========================================
   VOLUNTEER: introductory heading adjustments
======================================== */

.sugar-volunteer .sugar-page-intro-heading {
  text-align: center;
  margin: 0 auto 40px !important;
  padding: 0 !important;
}

.sugar-volunteer .sugar-page-intro-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.5;
  margin: 0 !important;
}

.sugar-volunteer .sugar-page-intro-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: #777;
  margin: 6px 0 0 !important;
}

.sugar-volunteer .sugar-page-intro-heading::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: #aaa;
  margin: 35px auto 0;
}

/* SP */
@media (max-width: 781px) {
  .sugar-volunteer .sugar-page-intro-title {
    font-size: 19px;
    letter-spacing: .12em;
  }

  .sugar-volunteer .sugar-page-intro-subtitle {
    font-size: 11px;
  }

  .sugar-volunteer .sugar-page-intro-heading {
    margin-bottom: 30px !important;
  }

  .sugar-volunteer .sugar-page-intro-heading::after {
    height: 30px;
    margin-top: 25px;
  }
}

/* ========================================
   PRIVACY POLICY
======================================== */

.sugar-privacy {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 2;
  color: #333;
}

/* INTRODUCTION */

.sugar-privacy-intro {
  text-align: center;
  margin: 0 auto 40px !important;
}

.sugar-privacy-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.5;
  margin: 0 !important;
}

.sugar-privacy-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: #777;
  margin: 6px 0 0 !important;
}

.sugar-privacy-intro::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: #aaa;
  margin: 35px auto 0;
}

.sugar-privacy-description {
  max-width: 820px;
  margin: 0 auto 60px !important;
  line-height: 2.2;
}

/* POLICY LIST */

.sugar-privacy-item {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 30px;
  padding: 35px 0;
  border-top: 1px solid #ddd;
}

.sugar-privacy-number {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .1em;
  line-height: 1.5;
  color: #777;
}

.sugar-privacy-content h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .05em;
  margin: 0 0 15px !important;
}

.sugar-privacy-content p {
  font-size: 13px;
  line-height: 2.2;
  margin: 0 0 12px !important;
}

.sugar-privacy-content p:last-child {
  margin-bottom: 0 !important;
}

.sugar-privacy-content ul {
  padding-left: 1.5em;
  margin: 15px 0 !important;
  list-style: disc;
}

.sugar-privacy-content li {
  margin-bottom: 5px;
  line-height: 2;
}

.sugar-privacy-content a {
  color: #555;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity .3s;
}

.sugar-privacy-content a:hover {
  opacity: .6;
}

/* SIGNATURE */

.sugar-privacy-signature {
  border-top: 1px solid #ddd;
  padding-top: 30px;
  text-align: right;
  font-size: 12px;
  color: #777;
}

.sugar-privacy-signature p {
  margin: 0 !important;
}

/* CONTACT BUTTON */

.sugar-privacy-contact {
  margin: 70px auto 0;
  text-align: center;
}

.sugar-privacy-contact a {
  display: inline-block;
  min-width: 200px;
  box-sizing: border-box;
  padding: 15px 30px;
  border: 1px solid #222;
  background: #222;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .15em;
  text-decoration: none;
  transition: background .3s, color .3s;
}

.sugar-privacy-contact a:hover {
  background: #fff;
  color: #222;
}

/* SP */

@media (max-width: 781px) {

  .sugar-privacy-title {
    font-size: 19px;
    letter-spacing: .12em;
  }

  .sugar-privacy-subtitle {
    font-size: 11px;
  }

  .sugar-privacy-intro {
    margin-bottom: 30px !important;
  }

  .sugar-privacy-intro::after {
    height: 30px;
    margin-top: 25px;
  }

  .sugar-privacy-description {
    margin-bottom: 40px !important;
    line-height: 2;
  }

  .sugar-privacy-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 25px 0;
  }

  .sugar-privacy-number {
    font-size: 19px;
  }

  .sugar-privacy-content h3 {
    font-size: 14px;
    margin-bottom: 12px !important;
  }

  .sugar-privacy-content p {
    line-height: 2;
  }

  .sugar-privacy-signature {
    padding-top: 25px;
    font-size: 11px;
  }

  .sugar-privacy-contact {
    margin-top: 45px;
  }
}
/* ========================================
   COMMON: inline text links
======================================== */

.sugar-page-content .text-link,
.sugar-page-content .wpcf7-acceptance a {
  color: #555;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .3s ease;
}

.sugar-page-content .text-link:visited,
.sugar-page-content .wpcf7-acceptance a:visited {
  color: #555;
}

.sugar-page-content .text-link:hover,
.sugar-page-content .wpcf7-acceptance a:hover {
  color: #777;
}
/* ========================================
   BLOG: inline text links in posts
======================================== */

.single-post .wp-block-post-content p a,
.single-post .wp-block-post-content li a {
  color: #555;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .3s ease;
}

.single-post .wp-block-post-content p a:visited,
.single-post .wp-block-post-content li a:visited {
  color: #555;
}

.single-post .wp-block-post-content p a:hover,
.single-post .wp-block-post-content li a:hover {
  color: #777;
}
/* ========================================
   FOOTER：PRIVACY POLICY
======================================== */

.sugar-footer-bottom .sugar-footer-privacy {
  margin: 20px 0 12px !important;
  padding: 0;
  text-align: center;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 1.5;
}

.sugar-footer-bottom .sugar-footer-privacy a,
.sugar-footer-bottom .sugar-footer-privacy a:visited {
  color: #ccc;
  text-decoration: none;
  transition: color .3s ease;
}

.sugar-footer-bottom .sugar-footer-privacy a:hover {
  color: #fff;
}
/* ========================================
   LOADING ANIMATION
======================================== */

#sugar-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #242424;
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease, visibility .4s ease;
  animation: sugar-loader-safety 0s 2s forwards;
}

#sugar-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sugar-loader-inner {
  text-align: center;
  animation: sugar-loader-fade-in .35s ease both;
}

.sugar-loader-logo {
  color: #fff;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: .2em;
  line-height: 1.5;
  padding-left: .2em;
}

.sugar-loader-track {
  width: 100px;
  height: 1px;
  margin: 24px auto 0;
  background: #555;
  overflow: hidden;
}

.sugar-loader-line {
  width: 100%;
  height: 1px;
  background: #fff;
  transform-origin: left;
  animation: sugar-loader-progress .7s ease-in-out both;
}

@keyframes sugar-loader-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes sugar-loader-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* Release the screen even if an error occurs */
@keyframes sugar-loader-safety {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* SP */

@media (max-width: 781px) {
  .sugar-loader-logo {
    font-size: 24px;
  }

  .sugar-loader-track {
    width: 80px;
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #sugar-loader {
    display: none !important;
  }
}
/* ========================================
   HOME: ABOUT ME vertical line
======================================== */

.home .sugar-about__subtitle::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: #aaa;
  margin: 35px auto 0;
}

@media (max-width: 781px) {
  .home .sugar-about__subtitle::after {
    height: 30px;
    margin-top: 25px;
  }
}
/* ========================================
   SCROLL ANIMATION
======================================== */

.sugar-reveal {
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.22, 1, .36, 1);
}

.sugar-reveal.is-visible,
.sugar-reveal:focus-within {
  opacity: 1;
  transform: translateY(0);
}

/* SP */

@media (max-width: 781px) {

  .sugar-reveal {
    transform: translateY(10px);
    transition-duration: .6s;
  }

  .sugar-reveal.is-visible,
  .sugar-reveal:focus-within {
    transform: translateY(0);
  }

}

/* Support reduced motion preferences */

@media (prefers-reduced-motion: reduce) {

  .sugar-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

}
/* ========================================
   PORTFOLIO：STAGGER ANIMATION
======================================== */

.sugar-portfolio-grid > li.sugar-reveal {
  transition-delay: 0s;
}

@media (min-width: 782px) {

  .sugar-portfolio-grid > li.sugar-reveal:nth-child(3n + 2) {
    transition-delay: .12s;
  }

  .sugar-portfolio-grid > li.sugar-reveal:nth-child(3n + 3) {
    transition-delay: .24s;
  }

}

.sugar-portfolio-grid > li.sugar-reveal:focus-within {
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {

  .sugar-portfolio-grid > li.sugar-reveal {
    transition-delay: 0s !important;
  }

}
/* ========================================
   PORTFOLIO ARCHIVE：IMAGE RATIO
======================================== */

.post-type-archive-portfolio .sugar-portfolio-card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.725 / 1;
  object-fit: contain !important;
}
/* ========================================
   ABOUT ME：PHOTO ANIMATION
======================================== */

.sugar-about-photo.sugar-reveal {
  transform: none;
  transition: opacity 1.2s ease;
}

@media (prefers-reduced-motion: reduce) {

  .sugar-about-photo.sugar-reveal {
    transition: none !important;
  }

}
/* ========================================
   VERTICAL LINE ANIMATION
======================================== */

.sugar-line-reveal::after {
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .8s cubic-bezier(.22, 1, .36, 1) .2s;
}

.sugar-line-reveal.is-line-visible::after {
  transform: scaleY(1);
}

@media (prefers-reduced-motion: reduce) {

  .sugar-line-reveal::after {
    transform: none !important;
    transition: none !important;
  }

}
/* ========================================
   HERO PARALLAX
======================================== */

@media (min-width: 1025px) and
       (prefers-reduced-motion: no-preference) {

  .sugar-hero .sugar-hero__galaxy {
    translate: 0 var(--sugar-parallax-y, 0px);
    scale: 1.6;
    transform-origin: center center;
  }

}
/* ========================================
   HOME：BLOG & WHY CHOOSE ME ANIMATION
======================================== */

@media (min-width: 1025px) {

  .home .sugar-posts-grid li.sugar-reveal:nth-child(2),
  .home .sugar-why__columns > .sugar-reveal:nth-child(2) {
    transition-delay: .15s;
  }

  .home .sugar-posts-grid li.sugar-reveal:nth-child(3),
  .home .sugar-why__columns > .sugar-reveal:nth-child(3) {
    transition-delay: .3s;
  }

}

@media (prefers-reduced-motion: reduce) {
  .home .sugar-reveal {
    transition-delay: 0s !important;
  }
}
/* ========================================
   HOME：PLANTS FADE IN
======================================== */

.home .sugar-about.sugar-plants-fade {
  position: relative;
  isolation: isolate;
  background-image: none !important;
}

.home .sugar-about .sugar-plants-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  z-index: -1;
  pointer-events: none;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.home .sugar-about .sugar-plants-layer.is-visible {
  opacity: 1;
}

@media (max-width: 767px) {
  .home .sugar-about .sugar-plants-layer {
    height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .sugar-about .sugar-plants-layer {
    opacity: 1;
    transition: none;
  }
}
/* ========================================
   PAGE：SECTION ANIMATION
======================================== */

.sugar-about-section.sugar-reveal,
.sugar-price-section.sugar-reveal,
.sugar-faq-section.sugar-reveal,
.sugar-volunteer-section.sugar-reveal,
.sugar-privacy-item.sugar-reveal {
  transition-duration: 1.2s;
}
/* ========================================
   PAGE：SECTION ANIMATION
======================================== */

.sugar-about-section.sugar-reveal,
.sugar-price-section.sugar-reveal,
.sugar-faq-section.sugar-reveal,
.sugar-volunteer-section.sugar-reveal,
.sugar-privacy-item.sugar-reveal,
.sugar-about-buttons.sugar-reveal {
  transition-duration: 1.2s;
}
/* ========================================
   HOME：HERO TEXT ANIMATION
======================================== */

@keyframes sugarHeroFadeIn {
  from {
    opacity: 0;
    translate: 0 15px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

.home .sugar-hero__copy h1 {
  animation: sugarHeroFadeIn 1.2s ease-out 1.2s both;
}

.home .sugar-hero__copy p {
  animation: sugarHeroFadeIn 1.2s ease-out 1.55s both;
}

.home .sugar-hero__button {
  animation: sugarHeroFadeIn 1.2s ease-out 1.9s both;
}

@media (prefers-reduced-motion: reduce) {

  .home .sugar-hero__copy h1,
  .home .sugar-hero__copy p,
  .home .sugar-hero__button {
    animation: none;
  }

}
/* ========================================
   HOME：PICKUP HEADING ANIMATION
======================================== */

.home .sugar-pickup-heading.sugar-reveal {
  transition-duration: 1.2s;
}
/* ========================================
   HOME：PICKUP HEADING SPACING
======================================== */

@media (min-width: 782px) {
  body.home .sugar-pickup-heading {
    padding-bottom: 30px !important;
  }

  body.home .sugar-pickup-subtitle {
    margin-bottom: 0 !important;
  }

/* ========================================
   HOME：BOTTOM SPACING
======================================== */

  body.home .sugar-page-body {
    padding-bottom: 50px !important;
  }
}
/* FAQ, PRICE and MAKING FLOW: introductory vertical line */
.sugar-faq-intro > .sugar-faq-lead::after,
.sugar-price-intro > .sugar-price-lead::after,
.sugar-flow-intro > p::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: #aaa;
  margin: 35px auto 0;
}

/* SP */
@media (max-width: 781px) {
  .sugar-faq-intro > .sugar-faq-lead::after,
  .sugar-price-intro > .sugar-price-lead::after,
  .sugar-flow-intro > p::after {
    height: 30px;
    margin-top: 25px;
  }
}
/* Expand mobile menu click area */
.wp-block-navigation__responsive-container.is-menu-open
.wp-block-navigation__container {
  width: 100%;
  align-items: stretch !important;
}

.wp-block-navigation__responsive-container.is-menu-open
.wp-block-navigation-item {
  width: 100%;
}

.wp-block-navigation__responsive-container.is-menu-open
.wp-block-navigation-item__content {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 0;
}
/* ABOUT ME: spacing before footer */
.page-id-15 .sugar-page-body {
  padding-bottom: 40px;
}

@media (max-width: 781px) {
  .page-id-15 .sugar-page-body {
    padding-bottom: 30px;
  }
}
/* BLOG: post list scroll animation */
.sugar-blog-grid > li.sugar-reveal {
  transition-delay: 0s;
}

@media (min-width: 1025px) {
  .sugar-blog-grid > li.sugar-reveal:nth-child(3n + 2) {
    transition-delay: .12s;
  }

  .sugar-blog-grid > li.sugar-reveal:nth-child(3n + 3) {
    transition-delay: .24s;
  }
}

.sugar-blog-grid > li.sugar-reveal:focus-within {
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .sugar-blog-grid > li.sugar-reveal {
    transition-delay: 0s !important;
  }
}
/* ========================================
   BACK TO TOP
======================================== */

#sugar-back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #555;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .5s ease,
              transform .5s ease,
              visibility .5s,
              color .3s ease;
}

#sugar-back-to-top[hidden] {
  display: none;
}

#sugar-back-to-top span {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .15em;
  line-height: 1.5;
}

#sugar-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#sugar-back-to-top:hover {
  color: #999;
}

#sugar-back-to-top:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

/* SP */
@media (max-width: 781px) {
  #sugar-back-to-top {
    right: 15px;
    bottom: 20px;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  #sugar-back-to-top {
    transition: none;
    transform: none;
  }
}
/* BACK TO TOP: invert color based on background */

#sugar-back-to-top {
  color: #fff;
  mix-blend-mode: difference;
}

#sugar-back-to-top:hover {
  color: #fff;
  opacity: .6;
}
/* ========================================
   PRIVATE GALLERY：PASSWORD FORM
======================================== */

.sugar-password {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 0 30px;
  text-align: center;
}

.sugar-password .sugar-page-intro-heading {
  margin-bottom: 40px;
}

.sugar-password-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.sugar-password-form input {
  width: 100%;
  max-width: 320px;
  padding: 15px 18px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
  color: #333;
  font-size: 16px;
}

.sugar-password-form input:focus {
  outline: 1px solid #555;
  border-color: #555;
}

.sugar-password-form button {
  min-width: 200px;
  padding: 15px 30px;
  border: 1px solid #292929;
  border-radius: 0;
  background: #292929;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .15em;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}

.sugar-password-form button:hover {
  background: #fff;
  color: #292929;
}

.sugar-password-note {
  margin: 35px 0 0 !important;
  color: #777;
  font-size: 12px;
  line-height: 2;
}

/* SP */
@media (max-width: 781px) {
  .sugar-password {
    padding-bottom: 10px;
  }

  .sugar-password .sugar-page-intro-heading {
    margin-bottom: 30px;
  }

  .sugar-password-form {
    gap: 20px;
  }

  .sugar-password-note {
    margin-top: 25px !important;
  }
}
/* ========================================
   PORTFOLIO：PRIVATE GALLERY
======================================== */

.sugar-private-gallery {
  max-width: 960px;
  margin: 80px auto 0 !important;
  padding: 70px 0 0;
  border-top: 1px solid #ddd;
  text-align: center;
}

.sugar-private-gallery .sugar-page-intro-heading {
  margin-bottom: 35px;
}

.sugar-private-gallery-text {
  margin: 0 auto 35px !important;
  font-size: 13px;
  line-height: 2.2;
  color: #555;
}

.sugar-private-gallery-text a,
.sugar-private-gallery-text a:visited {
  color: #555;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity .3s ease;
}

.sugar-private-gallery-text a:hover {
  opacity: .6;
}

.sugar-private-gallery-button,
.sugar-private-gallery-button:visited {
  display: inline-block;
  min-width: 200px;
  padding: 15px 35px;
  box-sizing: border-box;
  border: 1px solid #292929;
  border-radius: 0;
  background: #292929;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .15em;
  text-decoration: none;
  transition: background .3s ease, color .3s ease;
}

.sugar-private-gallery-button:hover {
  background: #fff;
  color: #292929;
}

/* SP */
@media (max-width: 781px) {
  .sugar-private-gallery {
    margin-top: 50px !important;
    padding-top: 45px;
  }

  .sugar-private-gallery .sugar-page-intro-heading {
    margin-bottom: 25px;
  }

  .sugar-private-gallery-text {
    margin-bottom: 30px !important;
    line-height: 2;
  }

  .sugar-private-gallery-text br {
    display: none;
  }

/* ========================================
   Mobile: left-align descriptions and center LP pricing
======================================== */

  /* CONTACT */
  .sugar-contact-intro p:not(.sugar-contact-lead),

  /* VOLUNTEER */
  .sugar-volunteer-intro p:not(.sugar-volunteer-lead):not(.sugar-page-intro-subtitle),
  .sugar-volunteer-contact p:not(.sugar-volunteer-lead),

  /* FAQ */
  .sugar-faq-intro p:not(.sugar-faq-lead),
  .sugar-faq-contact p:not(.sugar-faq-lead),

  /* PRICE */
  .sugar-price-intro p:not(.sugar-price-lead),
  .sugar-price-contact p:not(.sugar-price-lead),

  /* PORTFOLIO */
  .sugar-private-gallery-text {
    text-align: left !important;
  }

  /* PRICE: LP pricing */
  .sugar-price-lp-heading {
    align-items: center;
    text-align: center;
  }

  .sugar-price-lp-heading .sugar-price-amount {
    text-align: center;
  }

}
/* ========================================
   LOADING: consistent logo font
======================================== */

#sugar-loader .sugar-loader-logo {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-weight: 300;
  letter-spacing: .12em;
  padding-left: .12em;
}
/* ========================================
   PAGE：FADE IN
======================================== */

.wp-site-blocks {
  animation: sugar-page-fade 1.2s ease-out both;
}

@keyframes sugar-page-fade {
  0% {
    opacity: 0;
  }

  15% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .wp-site-blocks {
    animation: none;
  }
}
/* ========================================
   TABLET：HAMBURGER MENU
======================================== */

@media (max-width: 1200px) {

  .wp-block-navigation
  .wp-block-navigation__responsive-container-open {
    display: flex !important;
  }

  .wp-block-navigation
  .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }

/* ========================================
   RESPONSIVE: menu close button positioning
======================================== */

  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-close {
    top: 20px !important;
    right: 20px !important;
  }

}
/* Notice for older blog posts */
.sugar-old-post-notice {
    background: #FBF2F2;
    border-left: 2px solid #C58E8E;
    padding: 20px 24px;
    margin: 0 0 40px;
    color: #805555;
    font-size: 13px;
    line-height: 1.8;
}

.sugar-old-post-notice p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

.sugar-old-post-notice .sugar-old-post-notice-title {
    font-weight: 600;
    margin-bottom: 8px;
}