:root {
  --fg-cream: #fff8ec;
  --fg-paper: #fffdf7;
  --fg-peach: #f6b49f;
  --fg-coral: #e98586;
  --fg-yellow: #f8d54e;
  --fg-leaf: #8fb98b;
  --fg-ink: #594538;
  --fg-soft: #fbecd7;
  --fg-line: rgba(89, 69, 56, 0.16);
  --fg-round: "M PLUS Rounded 1c", sans-serif;
  --fg-maru: "Zen Maru Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fg-ink);
  background:
    radial-gradient(circle at 7% 18%, rgba(248, 213, 78, 0.28), transparent 120px),
    radial-gradient(circle at 94% 36%, rgba(143, 185, 139, 0.2), transparent 150px),
    var(--fg-cream);
  font-family: var(--fg-maru);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.fg-sample {
  margin: 0;
  padding: 9px 14px;
  color: #fffdf8;
  background: var(--fg-coral);
  font-size: 13px;
  text-align: center;
}

.fg-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 8px clamp(18px, 4vw, 54px);
  background: rgba(255, 238, 225, 0.9);
  border-bottom: 1px solid rgba(232, 126, 132, 0.16);
  backdrop-filter: blur(12px);
}

.fg-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fg-round);
  font-weight: 800;
  line-height: 1.18;
}

.fg-logo-mark {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  box-shadow: 0 8px 18px rgba(89, 69, 56, 0.14);
}

.fg-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 34px);
  font-size: 17px;
  font-weight: 800;
}

.fg-paw-menu {
  display: block;
  width: 92px;
  height: 72px;
}

.fg-paw-menu img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fg-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 100px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 78px) 70px;
  overflow: hidden;
}

.fg-hero::before {
  position: absolute;
  content: "";
  right: 3vw;
  top: 17%;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, var(--fg-yellow) 0 7px, transparent 8px);
  background-size: 28px 28px;
  opacity: 0.54;
}

.fg-note,
.fg-section-label span {
  margin: 0 0 14px;
  color: var(--fg-coral);
  font-family: var(--fg-round);
  font-weight: 800;
}

.fg-hero h1 {
  width: min(620px, 100%);
  margin: 0;
  font-family: var(--fg-round);
  font-size: clamp(38px, 5.4vw, 70px);
  line-height: 1.2;
}

.fg-hero h1 span {
  display: block;
  white-space: nowrap;
}

.fg-hero-copy > p:last-of-type {
  width: min(520px, 100%);
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 2;
}

.fg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.fg-actions a,
.fg-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  color: #fff;
  background: var(--fg-leaf);
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(89, 69, 56, 0.12);
  font-weight: 800;
}

.fg-actions a:nth-child(2) {
  color: var(--fg-ink);
  background: var(--fg-yellow);
}

.fg-collage {
  position: relative;
  min-height: 640px;
  overflow: visible;
}

.fg-puppy-oval,
.fg-oval-frame {
  position: absolute;
  left: 2%;
  top: 7%;
  width: 93%;
  height: 84%;
  border-radius: 46% 54% 48% 52% / 52% 43% 57% 48%;
}

.fg-puppy-oval {
  z-index: 1;
  overflow: hidden;
  background: #fffdf7;
  box-shadow: 0 22px 40px rgba(89, 69, 56, 0.14);
}

.fg-puppy-oval img {
  display: block;
  width: 138%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 50%;
  transform: translateX(-28%);
}

.fg-oval-frame {
  z-index: 2;
  border: 14px solid rgba(255, 255, 255, 0.96);
  pointer-events: none;
}

.fg-adult-dog {
  position: absolute;
  z-index: 3;
  right: 1%;
  bottom: -4%;
  width: min(31vw, 320px);
  height: auto;
  filter: drop-shadow(0 24px 28px rgba(89, 69, 56, 0.14));
}

.fg-flower {
  position: absolute;
  z-index: 4;
  left: -10px;
  top: 20%;
  color: var(--fg-yellow);
  font-size: 74px;
  text-shadow: 22px 5px 0 #f6d369, 12px 25px 0 #f4cc56;
}

.fg-dots {
  position: absolute;
  z-index: 4;
  left: 10%;
  bottom: 10%;
  width: 190px;
  height: 80px;
  border-bottom: 4px dotted rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.fg-puppies,
.fg-parents,
.fg-care,
.fg-steps,
.fg-contact {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.fg-section-label {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.fg-section-label h2,
.fg-care h2,
.fg-steps h2,
.fg-contact h2 {
  margin: 0;
  font-family: var(--fg-round);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.25;
}

.fg-puppy-board,
.fg-parent-list,
.fg-care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fg-puppy-board {
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 360px);
  grid-template-columns: none;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0 0 18px;
  scroll-snap-type: x mandatory;
}

.fg-puppy-board article,
.fg-parent-list article,
.fg-care-grid article {
  position: relative;
  min-height: 220px;
  padding: 28px;
  background: var(--fg-paper);
  border: 2px dashed rgba(233, 133, 134, 0.38);
  border-radius: 28px;
  box-shadow: 0 14px 32px rgba(89, 69, 56, 0.08);
}

.fg-puppy-board article {
  min-height: 520px;
  scroll-snap-align: start;
}

.fg-puppy-photo,
.fg-parent-photo,
.fg-home-photo {
  background-image: url("assets/puppy-sheet.jpg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-color: #fffaf0;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.72);
}

.fg-puppy-photo {
  width: 74%;
  aspect-ratio: 3 / 4;
  margin: -6px auto 22px;
  border-radius: 24px;
}

.fg-p1 { background-image: url("assets/puppy-01.jpg"); }
.fg-p2 { background-image: url("assets/puppy-02.jpg"); }
.fg-p3 { background-image: url("assets/puppy-03.jpg"); }
.fg-p4 { background-image: url("assets/puppy-04.jpg"); }
.fg-p5 { background-image: url("assets/puppy-05.jpg"); }
.fg-p6 { background-image: url("assets/puppy-06.jpg"); }
.fg-p7 { background-image: url("assets/puppy-07.jpg"); }
.fg-p8 { background-image: url("assets/puppy-08.jpg"); }
.fg-p9 { background-image: url("assets/puppy-09.jpg"); }
.fg-p10 { background-image: url("assets/puppy-10.jpg"); }

.fg-puppy-board b,
.fg-parent-list span,
.fg-care-grid b {
  color: var(--fg-coral);
  font-family: var(--fg-round);
}

.fg-puppy-board h3,
.fg-parent-list h3,
.fg-care-grid h3 {
  margin: 8px 0 12px;
  font-size: 25px;
}

.fg-puppy-board p,
.fg-parent-list p,
.fg-care-grid p {
  margin: 0;
  line-height: 1.8;
}

.fg-puppy-board small {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 8px 14px;
  background: var(--fg-soft);
  border-radius: 999px;
  font-weight: 700;
}

.fg-home {
  padding: 60px 18px;
}

.fg-round-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) 1fr;
  align-items: center;
  gap: clamp(26px, 4vw, 56px);
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 76px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at top left, rgba(248, 213, 78, 0.28), transparent 260px);
  border-radius: 54px;
  box-shadow: inset 0 0 0 3px #fff, 0 22px 44px rgba(89, 69, 56, 0.1);
}

.fg-home-photo {
  min-height: 390px;
  background-image: url("assets/home-kennel-garden.jpg");
  background-size: cover;
  background-position: 50% 50%;
  border: 8px solid #fff;
  border-radius: 36px;
}

.fg-round-card span {
  color: var(--fg-leaf);
  font-weight: 800;
}

.fg-round-card h2 {
  margin: 14px 0 22px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.34;
}

.fg-round-card p {
  font-size: 17px;
  line-height: 2;
}

.fg-steps ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.fg-steps li {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 24px 12px;
  background: #fff;
  border-radius: 999px 999px 26px 26px;
  font-weight: 800;
}

.fg-steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--fg-coral);
  border-radius: 50%;
}

.fg-parent-list article {
  min-height: 510px;
}

.fg-parent-photo {
  width: 70%;
  aspect-ratio: 3 / 4;
  height: auto;
  margin: -8px auto 22px;
  background-size: contain;
  background-position: center;
  background-color: #fffaf0;
  border-radius: 24px;
}

.fg-dad { background-image: url("assets/parent-dad.jpg"); }
.fg-mom { background-image: url("assets/parent-mom.jpg"); }
.fg-retired { background-image: url("assets/parent-retired.jpg"); filter: sepia(0.12) brightness(1.05); }

.fg-ico {
  position: absolute;
  right: 22px;
  top: 20px;
  display: block;
  width: 74px;
  height: 74px;
  background: var(--fg-soft);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(89, 69, 56, 0.1);
}

.fg-ico::before,
.fg-ico::after {
  position: absolute;
  content: "";
}

.fg-ico-health::before {
  left: 30px;
  top: 15px;
  width: 14px;
  height: 42px;
  background: var(--fg-coral);
  border-radius: 6px;
}

.fg-ico-health::after {
  left: 16px;
  top: 29px;
  width: 42px;
  height: 14px;
  background: var(--fg-coral);
  border-radius: 6px;
}

.fg-ico-family::before {
  left: 16px;
  top: 21px;
  width: 18px;
  height: 18px;
  background: var(--fg-leaf);
  border-radius: 50%;
  box-shadow: 23px 0 0 var(--fg-leaf);
}

.fg-ico-family::after {
  left: 13px;
  bottom: 16px;
  width: 48px;
  height: 22px;
  background: var(--fg-leaf);
  border-radius: 24px 24px 16px 16px;
}

.fg-ico-talk::before {
  left: 14px;
  top: 18px;
  width: 46px;
  height: 32px;
  background: var(--fg-yellow);
  border-radius: 18px;
}

.fg-ico-talk::after {
  left: 25px;
  top: 44px;
  width: 14px;
  height: 14px;
  background: var(--fg-yellow);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.fg-contact {
  text-align: center;
}

.fg-contact p {
  margin: 0 0 12px;
  color: var(--fg-coral);
  font-weight: 800;
}

.fg-contact a {
  margin-top: 26px;
}

.fg-footer {
  padding: 28px 18px 34px;
  color: #fff;
  background: var(--fg-ink);
  font-size: 13px;
  text-align: center;
}

.fg-footer p {
  margin: 7px 0;
}

@media (max-width: 860px) {
  .fg-header {
    grid-template-columns: 1fr auto;
  }

  .fg-nav {
    display: none;
  }

  .fg-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .fg-collage {
    min-height: 430px;
  }

  .fg-puppy-oval,
  .fg-oval-frame {
    left: 1%;
    top: 6%;
    width: 96%;
    height: 84%;
  }

  .fg-adult-dog {
    right: 0;
    bottom: -4%;
    width: min(34vw, 270px);
  }

  .fg-puppy-board,
  .fg-parent-list,
  .fg-care-grid,
  .fg-steps ol {
    grid-template-columns: 1fr;
  }

  .fg-puppy-board {
    grid-template-columns: none;
  }

  .fg-round-card {
    grid-template-columns: 1fr;
  }

  .fg-home-photo {
    min-height: 260px;
  }
}

@media (max-width: 520px) {
  .fg-logo span:last-child {
    font-size: 13px;
  }

  .fg-paw-menu {
    width: 58px;
    height: 50px;
  }

  .fg-hero {
    padding-top: 36px;
  }

  .fg-collage {
    min-height: 300px;
  }

  .fg-oval-frame {
    border-width: 8px;
  }

  .fg-adult-dog {
    width: 36%;
  }
}
