/* tokens */
:root {
  --teal: #1f6f73;
  --teal-deep: #164f52;
  --teal-mid: #1a6468;
  --teal-soft: #e7f4f4;
  --teal-glow: #8fe4e6;
  --orange: #f08a3c;
  --orange-deep: #8a3d0c;
  --cream: #fff1df;
  --cream-deep: #f6e4cc;
  --ink: #1a1614;
  --ink-soft: #3d3834;
  --muted: #5c564f;
  --white: #ffffff;
  --radius-sm: 0.75rem;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --radius-pill: 999px;
  --shadow: 0 14px 34px rgba(22, 36, 38, 0.12);
  --shadow-soft: 0 8px 22px rgba(22, 36, 38, 0.08);
  --shadow-lift: 0 18px 44px rgba(8, 28, 30, 0.28);
  --header-h: 3.75rem;
  --container: 1120px;
  --font-display: "Fredoka", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --space-section: 2.75rem;
}

/* base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  border: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 40;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.6rem;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

::selection {
  background: var(--orange);
  color: var(--ink);
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  background: rgba(255, 241, 223, 0.94);
  border-bottom: 1px solid rgba(26, 22, 20, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(var(--container), calc(100% - 2rem));
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 0.7rem;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.header-cta {
  flex: none;
  min-height: 2.4rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.65rem 1.15rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(240, 138, 60, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 241, 223, 0.78);
}

.hero :focus-visible {
  outline-color: var(--cream);
}

@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
  }

  .btn:hover {
    transform: translateY(-1px);
  }
}

.btn-primary:hover {
  background: #e07d32;
}

.btn-secondary:hover {
  background: rgba(255, 241, 223, 0.12);
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 2rem 0 2.25rem;
  background:
    radial-gradient(ellipse 70% 55% at 88% 18%, rgba(143, 228, 230, 0.55), transparent 62%),
    radial-gradient(ellipse 42% 36% at 8% 100%, rgba(240, 138, 60, 0.22), transparent 70%),
    linear-gradient(165deg, var(--teal-mid) 0%, var(--teal) 48%, var(--teal-deep) 100%);
  color: var(--cream);
}

.hero-grid {
  display: grid;
  gap: 1.35rem;
  align-items: center;
}

/* Fill the first screen only on wide layouts; on phones a full-height hero left big empty bands. */
@media (min-width: 900px) {
  .hero {
    min-height: calc(100svh - var(--header-h));
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.05rem + 2.2vw, 3.15rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero h1 span {
  display: block;
}

.hero-punch {
  width: fit-content;
  padding-bottom: 0.16em;
  background-image: linear-gradient(var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 0.09em;
}

.hero-sub {
  margin-top: 0.8rem;
  max-width: 34ch;
  color: var(--cream);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.hero-portrait {
  position: relative;
  width: min(74vw, 18.5rem);
  margin-inline: auto;
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 6% -4%;
  z-index: 0;
  background: radial-gradient(circle, var(--teal-glow) 0%, rgba(31, 111, 115, 0) 68%);
  filter: blur(10px);
}

.hero-portrait img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: 4px solid rgba(255, 241, 223, 0.88);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

@media (min-width: 720px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

@media (min-width: 1280px) {
  .hero {
    padding: 2rem 0 2.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 3rem;
  }

  .hero-portrait {
    width: min(100%, 26rem);
    justify-self: end;
  }
}

/* team */
.team {
  scroll-margin-top: var(--header-h);
  padding: 1.15rem 0 2.5rem;
}

.team h2,
.team-heading {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.team h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
}

.workflow {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.workflow li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.55rem 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.step-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.step-mark svg {
  width: 1.35rem;
  height: 1.35rem;
}

.step-mark-ai {
  background: #fde6d4;
  color: var(--orange-deep);
}

.step-label {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
}

.team-heading {
  margin-top: 1rem;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem);
  color: var(--teal-deep);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.dog-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  min-width: 0;
  height: 100%;
  padding: 0.55rem 0.6rem 0.65rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.dog-photo {
  width: 4.15rem;
  height: 4.15rem;
  flex: none;
  overflow: hidden;
  border-radius: 1.15rem;
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.dog-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.dog-copy {
  min-width: 0;
}

.dog-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.1;
}

.breed {
  margin-top: 0.08rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.25;
}

.role {
  display: inline-block;
  margin-top: 0.28rem;
  padding: 0.08rem 0.45rem;
  border-radius: var(--radius-pill);
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 0.72rem;
  font-weight: 600;
}

.line {
  margin-top: 0.28rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.25;
}

.honest-note {
  margin-top: 0.6rem;
  padding: 0.8rem 0.95rem;
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font-size: 0.98rem;
}

@media (min-width: 720px) {
  .team {
    padding: 2.5rem 0 3.5rem;
  }

  .workflow {
    gap: 0.75rem;
  }

  .workflow li {
    padding: 0.9rem 0.8rem 1rem;
  }

  .step-label {
    font-size: 0.95rem;
  }

  .team-grid {
    gap: 1rem;
  }

  .dog-card {
    padding: 0.9rem 0.9rem 1.05rem;
  }

  .dog-photo {
    width: 5.25rem;
    height: 5.25rem;
  }

  .dog-name {
    font-size: 1.3rem;
  }

  .line {
    font-size: 0.95rem;
  }
}

@media (min-width: 1280px) {
  .team {
    padding: 3.5rem 0 4.5rem;
  }

  .workflow {
    position: relative;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.85rem;
    margin-top: 1.35rem;
  }

  .workflow li {
    position: relative;
    z-index: 1;
    align-items: center;
    text-align: center;
    padding: 1rem 0.7rem 1.05rem;
  }

  .team-heading {
    margin-top: 2.75rem;
  }

  .team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 1.15rem;
  }

  .dog-card {
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 1rem 1rem 1.25rem;
    text-align: center;
  }

  .dog-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
  }

  .dog-name {
    margin-top: 0.85rem;
    font-size: 1.45rem;
  }

  .honest-note {
    margin-top: 1.5rem;
    padding: 1.1rem 1.25rem;
    font-size: 1.05rem;
  }
}

/* reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* services + work */
.services,
.work {
  scroll-margin-top: var(--header-h);
  padding: 2rem 0 2.25rem;
}

.work {
  background: var(--teal-soft);
}

.services h2,
.work h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
}

.section-lead {
  margin-top: 0.4rem;
  color: var(--muted);
}

.service-grid,
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.service-card {
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.service-icon svg {
  width: 1.7rem;
  height: 1.7rem;
}

.service-card h3,
.work-copy h3 {
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--teal-deep);
}

.service-card p,
.work-copy p:last-child {
  margin-top: 0.4rem;
  color: var(--ink-soft);
}

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.work-media {
  display: grid;
  place-items: center;
  padding: 1.4rem 1rem 0;
  overflow: hidden;
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
}

.work-media-questin {
  background: linear-gradient(160deg, #3a8f8c 0%, var(--teal-deep) 100%);
}

.work-media-shop {
  background: linear-gradient(160deg, var(--orange) 0%, #c9622a 100%);
}

.phone-frame {
  position: relative;
  width: min(100%, 13rem);
  aspect-ratio: 9 / 13;
  overflow: hidden;
  border: 0.45rem solid var(--ink);
  border-bottom: 0;
  border-radius: 1.6rem 1.6rem 0 0;
  background: var(--ink);
  box-shadow: var(--shadow-lift);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 1.1rem 1.1rem 0 0;
}

.phone-frame-art svg {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1.1rem 1.1rem 0 0;
}

.soon-label {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.6rem;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-pill);
  background: rgba(26, 22, 20, 0.78);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}

.work-copy {
  padding: 1rem 1.15rem 1.2rem;
}

.work-copy h3 {
  margin-top: 0.15rem;
}

.work-tag {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 600;
}

.services {
  background: #fffaf2;
}

.service-card {
  border: 1px solid rgba(26, 22, 20, 0.06);
}

.service-card p,
.work-copy p:last-child,
.section-lead,
.makeover-offer {
  max-width: 60ch;
}

.work-card {
  height: 100%;
}

@media (min-width: 720px) {
  .services,
  .work {
    padding: 3rem 0;
  }
}

@media (min-width: 900px) {
  .service-grid,
  .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .services,
  .work {
    padding: 3.5rem 0;
  }

  .service-grid,
  .work-grid {
    gap: 1.4rem;
    margin-top: 1.6rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* makeover + real team + footer */
.makeover {
  scroll-margin-top: var(--header-h);
  padding: 2.25rem 0 2.5rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}

.makeover-card {
  max-width: 40rem;
  margin-inline: auto;
  padding: 1.35rem 1.15rem 1.5rem;
  background: #fffaf2;
  border: 1px solid rgba(26, 22, 20, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.makeover-intro {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.makeover-dubu {
  flex: none;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--orange);
}

.makeover-intro h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.2rem);
}

.makeover-offer {
  margin-top: 0.4rem;
  color: var(--ink-soft);
}

.makeover-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 2px solid rgba(26, 22, 20, 0.28);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
}

.field textarea {
  resize: vertical;
  min-height: 7rem;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b3261e;
}

.field-error {
  margin-top: 0.3rem;
  color: #b3261e;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-block {
  width: 100%;
  min-height: 3.25rem;
  cursor: pointer;
  font-size: 1.05rem;
}

.form-note {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--teal-soft);
  border: 1px solid rgba(31, 111, 115, 0.35);
  color: var(--teal-deep);
  font-weight: 500;
}

.form-note a {
  font-weight: 600;
}

.real-team {
  scroll-margin-top: var(--header-h);
  padding: 2.25rem 0 2.5rem;
}

.real-team h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
}

.photo-strip {
  display: flex;
  gap: 0.85rem;
  margin: 1.1rem -1rem 0;
  padding: 0 1rem 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  -webkit-overflow-scrolling: touch;
}

.photo-strip li {
  flex: 0 0 70%;
  max-width: 17rem;
  scroll-snap-align: start;
}

.photo-strip img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.site-footer {
  padding: 2rem 0 2.25rem;
  background: var(--teal-deep);
  color: var(--cream);
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-copy {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--white);
}

.site-footer :focus-visible {
  outline-color: var(--cream);
}

.footer-note {
  font-size: 0.9rem;
  color: rgba(255, 241, 223, 0.85);
}

@media (min-width: 760px) {
  .makeover,
  .real-team {
    padding: 3.5rem 0;
  }

  .makeover-card {
    padding: 2rem 2.25rem 2.25rem;
  }

  .makeover-form {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1.25rem;
  }

  .makeover-form .field:nth-child(n + 3),
  .makeover-form .btn,
  .makeover-form .form-note {
    grid-column: 1 / -1;
  }

  .makeover-form .field:nth-child(3),
  .makeover-form .field:nth-child(4) {
    grid-column: auto;
  }

  .photo-strip {
    margin-inline: 0;
    padding: 0;
    overflow: visible;
    gap: 1.25rem;
  }

  .photo-strip li {
    flex: 1 1 0;
    max-width: none;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer-note {
    grid-column: 1 / -1;
  }
}
