/* ============ SCALE SURFIN BRAND V2.1 "sunset cream" ============
   Verbatim from tmpl/home.tmpl (approved replica block) — do not edit.
   Loaded ONLY by the home page, which keeps its CSS inline per BUILD_NOTES. */
:root {
	--navy: #04152a;
	--ink: #1b2a3a;
	--slate: #4c5a68;
	--muted: #7a6f60;
	--teal: #017b8d;
	--teal-deep: #015f6e;
	--coral: #ff207a;
	--orange: #ff8d02;
	--cream: #fdf3e3;
	--cream-2: #feecd6;
	--card: #fffdf7;
	--line: rgba(70, 60, 40, 0.14);
	--grad-sales: linear-gradient(92deg, #ff207a 0%, #ff5f4d 55%, #ff8d02 100%);
	--grad-wave: linear-gradient(94deg, #017b8d 0%, #2266d6 34%, #c93fd4 62%, #ff207a 82%, #ff8d02 100%);
	--shadow: 0 16px 44px rgba(120, 70, 20, 0.1);
	--r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--ink);
	font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
	line-height: 1.6;
	background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 30%, #fef8ee 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: auto; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; color: var(--navy); letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(253, 243, 227, 0.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { height: 80px; display: flex; align-items: center; gap: 24px; }
.brand img { height: 56px; width: auto; }
.navlinks { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 0.94rem; font-weight: 600; color: #33424f; }
.navlinks a:hover { color: var(--teal); }
.navlinks a.active { color: var(--teal-deep); font-weight: 700; }
.navShop { background: var(--grad-sales); color: #fff !important; font-weight: 700 !important; box-shadow: 0 8px 22px rgba(255, 80, 60, 0.3); }
.menuBtn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 1.2rem; color: var(--navy); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font-family: Poppins, sans-serif; font-weight: 700; font-size: 0.98rem; cursor: pointer; transition: 0.18s; }
.btn:hover { transform: translateY(-1px); }
.btn.sales { background: var(--grad-sales); color: #fff; border: 0; box-shadow: 0 10px 26px rgba(255, 90, 50, 0.32); }
.btn.ghost { border-color: rgba(1, 123, 141, 0.5); color: var(--teal-deep); background: rgba(255, 255, 255, 0.5); }
.btn.ghost:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ---------- hero ---------- */
.hero { padding: 46px 0 26px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 46%; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--teal); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.eyebrow svg { flex: 0 0 auto; }
h1 { font-size: clamp(2.5rem, 4.6vw, 4.05rem); line-height: 1.06; font-weight: 700; margin: 18px 0 20px; }
.wave { font-style: italic; font-weight: 600; color: transparent; background: var(--grad-wave); -webkit-background-clip: text; background-clip: text; display: inline-block; padding: 0 0.06em 0.05em 0; }
.lead { max-width: 480px; color: #31404d; font-size: 1.02rem; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line); color: var(--teal-deep); font-size: 0.8rem; font-weight: 600; }
.hero-photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: auto; }

/* ---------- sections ---------- */
.section { padding: 56px 0 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.viewall { font-family: Poppins, sans-serif; color: #a4652c; font-weight: 700; font-size: 0.93rem; white-space: nowrap; }
.viewall:hover { color: var(--orange); }

/* featured animal cards */
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 6px 20px rgba(120, 70, 20, 0.06); display: flex; flex-direction: column; transition: 0.18s; }
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fphoto { aspect-ratio: 3/2; overflow: hidden; background: #efe6d6; }
.fphoto img { width: 100%; height: 100%; object-fit: cover; }
.fbody { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.fgen { font-family: Fraunces, Georgia, serif; font-size: 1.06rem; font-weight: 700; color: var(--navy); line-height: 1.25; }
.fmeta { color: var(--slate); font-size: 0.78rem; font-weight: 500; }
.fproj { color: var(--muted); font-size: 0.75rem; font-style: italic; }
.fbottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.price { font-family: Poppins, sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--teal-deep); }
.viewarrow { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(1, 123, 141, 0.45); color: var(--teal); font-weight: 700; flex: 0 0 auto; transition: 0.15s; }
.fcard:hover .viewarrow { background: var(--teal); color: #fff; border-color: var(--teal); }

/* trust strip */
.trust { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; padding: 8px 0; }
.titem { text-align: center; padding: 0 4px; }
.ticon { width: 46px; height: 46px; border-radius: 50%; background: rgba(1, 123, 141, 0.1); display: grid; place-items: center; color: var(--teal); margin: 0 auto 12px; }
.ticon svg { width: 22px; height: 22px; }
.titem h3 { font-family: Poppins, sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; color: var(--navy); margin-bottom: 6px; }
.titem p { color: var(--slate); font-size: 0.8rem; line-height: 1.5; }

/* projects */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 6px 20px rgba(120, 70, 20, 0.06); }
.pcard .fphoto { aspect-ratio: 16/9; }
.pbody { padding: 16px 18px 18px; }
.pbody h3 { font-size: 1.25rem; margin-bottom: 8px; }
.pbody p { color: var(--slate); font-size: 0.88rem; margin-bottom: 14px; }
.plink { font-weight: 700; color: var(--teal-deep); font-size: 0.92rem; }
.plink:hover { color: var(--coral); }

/* follow section — more pink/orange personality, still cream */
.follow {
	margin-top: 56px;
	border-radius: 26px;
	padding: 44px 40px;
	background:
		radial-gradient(120% 160% at 85% 10%, rgba(255, 32, 122, 0.1), transparent 55%),
		radial-gradient(120% 160% at 10% 100%, rgba(255, 141, 2, 0.12), transparent 55%),
		#fff8ec;
	border: 1px solid rgba(255, 120, 60, 0.22);
}
.follow h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 10px; }
.follow .lead { margin-bottom: 22px; }

/* morphmarket — restrained */
.mm { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 30px; }
.mm h3 { font-size: 1.35rem; margin-bottom: 6px; }
.mm p { color: var(--slate); font-size: 0.92rem; }
.mm .btn { border-color: rgba(1, 123, 141, 0.45); color: var(--teal-deep); }
.mm .btn:hover { background: var(--teal); color: #fff; }

/* ---------- footer ---------- */
.footer { margin-top: 64px; border-top: 1px solid var(--line); background: #fdf2e0; padding: 48px 0 30px; position: relative; overflow: hidden; }
.footer .wavebg { position: absolute; inset: auto 0 -2px 0; height: 70px; opacity: 0.5; pointer-events: none; }
.fgrid-foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.fbrand img { height: 58px; margin-bottom: 14px; }
.ftag { font-family: Fraunces, Georgia, serif; font-style: italic; font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; }
.floc { color: var(--muted); font-size: 0.85rem; margin-bottom: 14px; }
.fsoc { display: flex; gap: 10px; }
.fsoc a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.8rem; font-weight: 600; color: var(--teal-deep); }
.fsoc a:hover { border-color: var(--teal); background: rgba(1, 123, 141, 0.07); }
.footer h4 { font-family: Poppins, sans-serif; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; color: var(--navy); margin: 0 0 12px; }
.footer a.fl { display: block; color: #51616e; font-size: 0.86rem; margin: 7px 0; }
.footer a.fl:hover { color: var(--teal); }
.copyright { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); color: #93866f; font-size: 0.74rem; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

@media (max-width: 1080px) {
	.fgrid { grid-template-columns: repeat(2, 1fr); }
	.trust { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
	.pgrid { grid-template-columns: 1fr 1fr; }
	.fgrid-foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.navlinks, .navShop { display: none; }
	.menuBtn { display: inline-grid; place-items: center; }
	.navlinks.open { display: flex; position: absolute; left: 16px; right: 16px; top: 96px; flex-direction: column; align-items: stretch; background: #fffdf7; border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); gap: 4px; }
	.navlinks.open a { padding: 11px 10px; border-radius: 10px; }
	.hero-grid { grid-template-columns: 1fr; gap: 26px; }
	.hero { padding-top: 30px; }
}
@media (max-width: 640px) {
	.wrap { width: calc(100% - 32px); }
	.fgrid, .pgrid, .trust { grid-template-columns: 1fr; }
	.trust { gap: 20px; }
	.follow { padding: 30px 22px; }
	.mm { flex-direction: column; align-items: flex-start; }
	.fgrid-foot { grid-template-columns: 1fr; }
	.section-head { flex-direction: column; gap: 8px; align-items: flex-start; }
}
