/* ==========================================================================
   The Love Nails — site styles
   Skin of the white version. Shared mechanics (masonry, lightbox, burger, phone menu, dock) are in core.css.
   1 tokens · 2 base · 3 header · 4 hero · 5 quick links · 6 works · 8 price
   9 reviews · 10 about · 11 contact & footer · 12 tablet & mobile · 13 motion
   ========================================================================== */

/* 1 tokens */
:root {
	--paper: #FFFFFF;
	--ink: #16261F;
	--muted: #66716C;
	--line: #DEDAD4;
	--em: #123326;
	--blush: #F4DEDC;
	--sage: #DDE8DF;
	--lilac: #E7E0EF;
	--butter: #F4EDD7;
	--sky: #DEE6EE;
}

/* 2 base */
body { background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); }
h2 { font-size: clamp(52px, 8vw, 128px); letter-spacing: -0.01em; }

.pill { display: inline-block; padding: 14px 30px; border-radius: 999px; background: var(--paper); color: var(--ink); font: 500 15px/1 var(--sans); text-decoration: none; transition: background .2s, color .2s; }
.pill:hover { background: var(--em); color: var(--paper); }
.pill--small { padding: 11px 22px; border: 1px solid currentColor; background: transparent; color: inherit; }
.pill--dark { background: var(--em); color: var(--paper); }
.pill--dark:hover { background: var(--ink); }
.pill--glass { border: 1px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .18); color: var(--paper); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); }
.pill--glass:hover { background: var(--paper); color: var(--ink); }

/* 3 header — white text over the hero, frosted glass after it */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; height: 76px; padding: 0 var(--pad); color: var(--paper); transition: background .3s, color .3s; }
.hdr.is-solid:not(.is-menu) { background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: 0 1px 0 rgba(22, 38, 31, .08); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); }
.hdr-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: var(--w-text) 20px var(--display); letter-spacing: .04em; text-transform: uppercase; }
.hdr-nav a:not(.pill) { text-decoration: none; }
@media (min-width: 761px) {
	.hdr-nav { display: flex; align-items: center; gap: 34px; font-size: 15px; }
	.hdr-nav a:not(.pill):hover { text-decoration: underline; text-underline-offset: 6px; }
}
.hdr.is-solid .pill--small:hover { border-color: var(--em); }

/* 4 hero — two photos side by side, the name set across the seam */
.hero { position: relative; height: max(100svh, 640px); color: var(--paper); overflow: hidden; }
.hero-pics { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--paper); }
.hero-pic { position: relative; overflow: hidden; background: var(--ink); }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; }
.hero-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 16, .45) 0%, rgba(10, 20, 16, .05) 30%, rgba(10, 20, 16, .1) 60%, rgba(10, 20, 16, .5) 100%); }
.hero-copy { --t: clamp(64px, 11vw, 200px); position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -46%); text-shadow: 0 2px 30px rgba(10, 20, 16, .3); }
.hero-title { font-size: var(--t); white-space: nowrap; }
.hero-title span { display: block; }
.hero-title span:last-child { margin-left: 1.4em; }
.hero-tag { position: absolute; left: 0; bottom: calc(var(--t) * .12); width: calc(var(--t) * 1.25); font-size: 15px; line-height: 1.4; }
.hero-cta { position: absolute; right: var(--pad); bottom: 48px; z-index: 2; }
.hero-place { position: absolute; left: var(--pad); bottom: 60px; z-index: 2; font-size: 15px; }
.hero-social { position: absolute; left: var(--pad); top: 50%; z-index: 2; display: flex; flex-direction: column; gap: 14px; transform: translateY(-50%); font-size: 14px; }
.hero-social a { text-decoration: none; writing-mode: vertical-rl; transform: rotate(180deg); }
.hero-social a:hover { text-decoration: underline; }

/* 5 quick links — phones only (see 12) */
.quick { display: none; }

/* 6 works — skin of the masonry (mechanics in core.css) */
.works { padding: clamp(90px, 11vw, 170px) var(--pad); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 6vw, 90px); }
.sec-head p { max-width: 24ch; font-size: 15px; color: var(--muted); text-align: right; }
.fill--cta:hover { background: var(--blush); }
.empty { font-size: 18px; color: var(--muted); }

/* 8 price — an arch-topped card between two photos, one higher, one lower */
.price { display: grid; grid-template-columns: 1fr minmax(0, 660px) 1fr; gap: clamp(20px, 4vw, 64px); align-items: start; padding: clamp(90px, 11vw, 170px) var(--pad); background: var(--blush); }
.price-pic { overflow: hidden; border-radius: var(--round); }
.price-pic img { width: 100%; height: 100%; object-fit: cover; }
.price-pic--l { grid-column: 1; grid-row: 1; aspect-ratio: 3 / 4; margin-top: 18%; }
.price-pic--r { grid-column: 3; grid-row: 1; aspect-ratio: 4 / 5; align-self: end; margin-bottom: 12%; border-radius: var(--arch); }
.price-card { grid-column: 2; grid-row: 1; padding: clamp(110px, 12vw, 170px) clamp(24px, 4.5vw, 64px) clamp(40px, 5vw, 64px); background: var(--paper); border-radius: var(--arch); text-align: center; }
.price-note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.price-list { margin: 40px 0 44px; padding: 0; list-style: none; text-align: left; }
.price-list li { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 1px solid var(--line); }
.price-name { flex: 1; font: var(--w-text) clamp(22px, 2vw, 27px)/1.2 var(--display); }
.price-name small { display: block; margin-top: 4px; font: 400 14px/1.4 var(--sans); color: var(--muted); }
.price-sum { font: var(--w-text) clamp(26px, 2.4vw, 34px)/1 var(--display); white-space: nowrap; }
.price-sum.is-empty { color: var(--line); }

/* 9 reviews — screenshots in a strip, every second one lower */
.reviews { padding: clamp(90px, 11vw, 170px) var(--pad); background: var(--lilac); overflow: hidden; }
.reviews-nav { display: flex; gap: 10px; }
.reviews-nav[hidden] { display: none; }
.reviews-nav button { width: 56px; height: 56px; border: 1px solid var(--ink); border-radius: 50%; background: none; color: var(--ink); font: var(--w-display) 34px/1 var(--display); cursor: pointer; transition: background .2s, color .2s; }
.reviews-nav button:hover { background: var(--ink); color: var(--paper); }
.reviews-track { display: flex; align-items: flex-start; gap: calc(var(--gap) * 2); margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 56px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review { position: relative; flex: 0 0 clamp(220px, 22vw, 320px); scroll-snap-align: start; border-radius: 22px; overflow: hidden; background: var(--paper); cursor: zoom-in; }
.review:nth-child(even) { margin-top: 56px; }

/* 10 about — text on the left, photos stepped on the right */
.about { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; padding: clamp(90px, 11vw, 170px) var(--pad); }
.about-text { grid-column: 1 / 6; position: sticky; top: 120px; }
.about-lead { margin: 40px 0 18px; font: var(--w-text) clamp(24px, 2.2vw, 30px)/1.3 var(--display); }
.about-text p:not(.about-lead) { max-width: 46ch; margin-bottom: 12px; color: var(--muted); }
.about-pics { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.about-pic { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--round); }
.about-pic img { width: 100%; height: 100%; object-fit: cover; }
.about-pic:nth-child(2) { margin-top: 40%; }
.about-pic:nth-child(3) { width: 72%; margin: -30% 0 0 auto; }

/* 11 contact & footer — booking steps, then the call to action set as type */
.contact { padding: clamp(90px, 11vw, 170px) var(--pad); background: var(--sage); text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 60px); max-width: 1100px; margin: 0 auto clamp(60px, 8vw, 120px); padding: 0; list-style: none; counter-reset: step; text-align: left; }
.steps li { padding-top: 20px; border-top: 1px solid rgba(22, 38, 31, .25); counter-increment: step; }
.steps li::before { content: counter(step); display: block; margin-bottom: 18px; font: var(--w-display) 64px/1 var(--display); }
.steps b { display: block; font-weight: 500; }
.steps span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
.contact-cta { display: inline-block; margin-top: 10px; font: var(--w-display) min(clamp(56px, 13vw, 230px), calc(130vw / var(--chars, 10)))/1 var(--display); text-transform: uppercase; text-decoration: none; letter-spacing: -0.01em; }
.contact-cta:hover { color: var(--em); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
.contact-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 36px; font-size: 16px; }
.contact-row a { text-decoration: none; border-bottom: 1px solid currentColor; }
.ftr { display: flex; justify-content: space-between; align-items: center; padding: 22px var(--pad); font-size: 14px; color: var(--muted); }
.ftr-social { display: flex; gap: 24px; }
.ftr-social a { text-decoration: none; }
.ftr-social a:hover { color: var(--ink); }

/* 12 tablet & mobile */
@media (max-width: 1100px) {
	.price { grid-template-columns: 1fr minmax(0, 600px) 1fr; }
	.price-pic { display: none; }
	.about-text { grid-column: 1 / 7; }
	.about-pics { grid-column: 8 / 13; }
}
@media (max-width: 760px) {
	/* One left edge for everything on phones (--pad); only the arch price card is centred. */
	:root { --round: 12px; --pad: 20px; }
	body { font-size: 16px; }
	h2 { font-size: 15vw; }
	.works, .price, .reviews, .about, .contact { padding-top: 80px; padding-bottom: 80px; }

	/* header: frosted glass from the start (the full-screen menu itself is in core.css) */
	.hdr:not(.is-menu) { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); }
	.hdr, .hdr.is-solid:not(.is-menu) { height: 60px; color: var(--ink); box-shadow: none; }
	.hdr-brand { font-size: 17px; }

	/* hero: the photo under an arch (the cloche), a second photo framed in its corner, the name below */
	.hero { height: auto; padding: 72px var(--pad) 36px; color: var(--ink); overflow: visible; }
	.hero-pics { position: relative; inset: auto; display: block; height: min(51svh, 118vw); background: none; }
	.hero-pic:first-child { height: 100%; border-radius: var(--arch); }
	.hero-pic:last-child { position: absolute; right: 14px; bottom: 14px; width: 34%; aspect-ratio: 4 / 5; border: 4px solid var(--paper); border-radius: var(--round); }
	.hero-pic::after { display: none; }
	.hero-copy { --t: 22vw; position: static; margin-top: 22px; transform: none; text-shadow: none; }
	.hero-title span:last-child { margin-left: 0; }
	.hero-tag { position: static; width: auto; max-width: 30ch; margin-top: 16px; color: var(--muted); }
	.hero-cta { position: static; display: inline-block; margin-top: 22px; border: 0; background: var(--em); color: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
	.hero-social, .hero-place { display: none; }

	/* quick links: a tall photo tile beside stacked pastel tiles */
	.quick { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(84px, auto); grid-auto-flow: dense; gap: 10px; padding: 8px var(--pad) 0; }
	.quick-tile { position: relative; display: flex; align-items: flex-end; padding: 14px 16px; overflow: hidden; border-radius: var(--round); text-decoration: none; }
	.quick-tile span { position: relative; font: var(--w-display) 24px/1 var(--display); text-transform: uppercase; }
	.quick-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
	.quick-tile--works { grid-row: span 3; color: var(--paper); background: var(--ink); }
	.quick-tile--works::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 16, 0) 55%, rgba(10, 20, 16, .55)); }
	.quick-tile--works span { z-index: 1; }
	.quick-tile--price { background: var(--blush); }
	.quick-tile--reviews { background: var(--lilac); }
	.quick-tile--about { background: var(--sage); }

	.sec-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
	.sec-head p { text-align: left; }
	.works { padding-left: 10px; padding-right: 10px; }
	.works .sec-head { padding: 0 calc(var(--pad) - 10px); }

	.price { display: block; padding-left: 10px; padding-right: 10px; }
	.price-card { padding: 96px 20px 32px; }
	.price-name { font-size: 21px; }

	.about { display: block; }
	.about-text { position: static; }
	.about-pics { margin-top: 40px; }
	.reviews-nav { display: none; }
	.review { flex-basis: 64vw; }

	/* contact: left-aligned like the rest; each step's number sits on its title's baseline */
	.contact { text-align: left; }
	.steps { grid-template-columns: 1fr; gap: 0; margin-bottom: 48px; }
	.steps li { display: grid; grid-template-columns: 34px 1fr; align-items: baseline; padding: 16px 0 18px; }
	.steps li::before { margin: 0; font-size: 28px; line-height: 1; }
	.steps span { grid-column: 2; }
	.contact-cta { font-size: min(17vw, calc(170vw / var(--chars, 10))); margin-top: 0; }
	.contact-row { flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 12px; margin-top: 24px; }
	.ftr { flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 96px; }
	.dock { background: rgba(18, 51, 38, .82); }
}

/* 13 motion — one moment on load: the photos open (from the seam; on phones the arch rises) */
@media (prefers-reduced-motion: no-preference) {
	.hero-pic:first-child img { animation: tln-open-l 1.3s cubic-bezier(.2, .7, .2, 1) both; }
	.hero-pic:last-child img { animation: tln-open-r 1.3s cubic-bezier(.2, .7, .2, 1) both; }
	.hero-copy, .hero-cta, .hero-place, .hero-social { animation: tln-fade 1s ease .6s both; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
	.hero-pic:first-child img { animation-name: tln-rise; }
	.hero-pic:last-child img { animation: tln-fade 1s ease .5s both; }
}
@keyframes tln-open-l { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
@keyframes tln-open-r { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes tln-rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes tln-fade { from { opacity: 0; } to { opacity: 1; } }
