/*
Theme Name: Hairstyle Ideas
Theme URI: https://hairstyleideas.it.com
Description: Hairstyle galleries on style cards, curly hair and colour guides, and a Hairstyle finder inside a lit vanity mirror. Plum, rose copper and champagne.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: hairstyleideas
License: GPL-2.0-or-later
*/

@font-face { font-family: "Italiana"; font-weight: 400; font-style: normal; font-display: swap; src: url(assets/fonts/italiana-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url(assets/fonts/jost-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url(assets/fonts/jost-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-style: normal; font-display: swap; src: url(assets/fonts/jost-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 700; font-style: normal; font-display: swap; src: url(assets/fonts/jost-latin-700-normal.woff2) format("woff2"); }

:root {
	--plum-900: #1b0b22;
	--plum: #26112f;
	--plum-700: #3b1b47;
	--plum-500: #6a3a78;
	--copper: #d07a5a;
	--copper-d: #a9573b;
	--orchid: #e46a9a;
	--champ: #f6e6d2;
	--champ-l: #fbf3e8;
	--petal: #fff7f6;
	--ink: #2a1a2e;
	--muted: #6f5d70;
	--line: #ecdcd4;
	--r: 22px;
	--sh: 0 14px 34px -18px rgba(38, 17, 47, .45), 0 2px 6px rgba(38, 17, 47, .06);
	--disp: "Italiana", "Didot", Georgia, serif;
	--sans: "Jost", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--petal); color: var(--ink); font: 400 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-d); text-underline-offset: 3px; }
a:hover { color: var(--plum-700); }
h1, h2, h3 { line-height: 1.15; color: var(--plum); }
h1, .hy-disp { font-family: var(--disp); font-weight: 400; letter-spacing: .01em; }
h2 { font: 600 clamp(1.35rem, 1.1rem + 1vw, 1.75rem)/1.2 var(--sans); letter-spacing: -.01em; }
h3 { font: 600 1.1rem/1.3 var(--sans); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--copper); color: #fff; padding: 8px 14px; border-radius: 99px; z-index: 99; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--orchid); outline-offset: 2px; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--copper), var(--orchid)); color: #fff; font-weight: 600; text-decoration: none; padding: 12px 22px; border-radius: 99px; box-shadow: 0 10px 22px -12px rgba(228, 106, 154, .9); }
.btn:hover { color: #fff; filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--champ); box-shadow: inset 0 0 0 1.5px rgba(246, 230, 210, .55); }
.btn.ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--champ); }

/* ------------------------------------------------------------- header */
.hy-hdr { position: sticky; top: 0; z-index: 40; background: rgba(38, 17, 47, .97); color: var(--champ); backdrop-filter: blur(8px); }
.hy-hdr-in { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.hy-brand { color: var(--champ); display: flex; flex: none; }
.hy-logo { width: 196px; height: auto; }
.hy-nav { display: none; flex: 1; justify-content: center; gap: 4px; }
.hy-nav a { color: rgba(246, 230, 210, .82); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 8px 11px; border-radius: 99px; position: relative; }
.hy-nav a:hover, .hy-nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .07); }
.hy-nav a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--copper); }
.hy-find-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--plum); background: var(--champ); font-weight: 600; font-size: .9rem; padding: 8px 14px; border-radius: 99px; white-space: nowrap; }
.hy-find-btn:hover { background: #fff; color: var(--plum); }
.hy-find-btn .mi { width: 14px; height: 18px; border-radius: 50% 50% 46% 46%; border: 2.5px solid var(--copper); position: relative; }
.hy-find-btn .mi::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 3px; height: 6px; margin-left: -1.5px; background: var(--copper); border-radius: 2px; }
.hy-menu { position: static; }
.hy-menu summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.hy-menu summary::-webkit-details-marker { display: none; }
.hy-burger { display: grid; gap: 4px; }
.hy-burger i { display: block; width: 18px; height: 2px; background: var(--champ); border-radius: 2px; }
.hy-burger i:nth-child(2) { width: 12px; justify-self: end; }
.hy-menu[open] summary { background: var(--copper); }
.hy-menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--champ-l); color: var(--ink); max-height: calc(100vh - 70px); overflow: auto; box-shadow: 0 30px 60px -20px rgba(27, 11, 34, .5); padding: 22px 0 30px; }
.hy-menu-title { font: 400 1.7rem/1.2 var(--disp); color: var(--plum); margin: 0 0 14px; }
.hy-menu-grid { columns: 220px 4; column-gap: 26px; }
.hy-menu-grid .col { break-inside: avoid; margin-bottom: 18px; }
.hy-menu-grid h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--copper-d); margin: 0 0 6px; }
.hy-menu-grid a { display: block; color: var(--ink); text-decoration: none; padding: 3px 0; font-size: .95rem; }
.hy-menu-grid a:hover { color: var(--copper-d); }
.hy-bulbs { height: 8px; background: radial-gradient(circle at 50% 50%, #ffe9c7 0 2.2px, rgba(255, 214, 160, .45) 3px, transparent 5px) 0 0 / 34px 8px repeat-x, var(--plum-900); }
@media (min-width: 1040px) { .hy-nav { display: flex; } .hy-find-btn { margin-left: 0; } }
@media (max-width: 480px) { .hy-logo { width: 156px; } .hy-find-btn { padding: 8px 11px; font-size: .82rem; } .hy-hdr-in { gap: 10px; } }

/* --------------------------------------------------------------- hero */
.hy-hero { background: radial-gradient(900px 420px at 85% 10%, rgba(228, 106, 154, .28), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(208, 122, 90, .25), transparent 60%), linear-gradient(160deg, var(--plum) 0%, var(--plum-700) 100%); color: var(--champ); padding: 44px 0 96px; }
.hy-hero-in { display: grid; gap: 34px; align-items: center; }
.hy-kicker { display: inline-block; margin: 0 0 12px; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.hy-hero h1 { color: #fff; font-size: clamp(2.6rem, 1.8rem + 4vw, 4.6rem); line-height: 1; margin: 0 0 16px; }
.hy-hero .lead { font-size: 1.12rem; color: rgba(246, 230, 210, .88); max-width: 34em; margin: 0 0 24px; }
.hy-hero-go { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hy-hero-pins { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hy-hero-pins li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(246, 230, 210, .18); border-radius: 14px; padding: 8px 14px 8px 30px; font-size: .88rem; color: rgba(246, 230, 210, .85); position: relative; }
.hy-hero-pins li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 3px; margin-top: -1.5px; background: var(--copper); border-radius: 3px; box-shadow: 0 -4px 0 -1px var(--copper); }
.hy-hero-pins b { color: #fff; margin-right: 4px; }
/* the vanity mirror: copper frame with bulbs on three sides */
.hy-vanity { position: relative; padding: 26px; border-radius: 30px; background: linear-gradient(145deg, #e9a083, var(--copper) 45%, var(--copper-d)); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 2px 0 rgba(255, 255, 255, .35); }
.hy-vanity::before, .hy-vanity::after { content: ""; position: absolute; top: 34px; bottom: 34px; width: 14px; background: radial-gradient(circle, #fff6e6 0 4px, rgba(255, 226, 180, .7) 5px, transparent 8px) 50% 0 / 14px 46px repeat-y; }
.hy-vanity::before { left: 6px; }
.hy-vanity::after { right: 6px; }
.hy-vanity-glass { position: relative; background: linear-gradient(160deg, #fffdfb, var(--champ-l)); border-radius: 18px; padding: 22px; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(169, 87, 59, .25); overflow: hidden; }
.hy-vanity-glass::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .7) 0 12%, transparent 12% 20%, rgba(255, 255, 255, .4) 20% 23%, transparent 23%); pointer-events: none; }
@media (min-width: 900px) { .hy-hero { padding: 64px 0 120px; } .hy-hero-in { grid-template-columns: 1.05fr .95fr; } }

/* ------------------------------------------------------------- finder */
.hy-finder { position: relative; }
.hy-f-title { font: 400 1.9rem/1.1 var(--disp); color: var(--plum); margin: 0 0 4px; }
.hy-f-sub { margin: 0 0 14px; color: var(--muted); font-size: .95rem; }
.hy-f-step { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.hy-f-step legend { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-d); margin-bottom: 6px; padding: 0; }
.hy-f-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.hy-f-chip { font: 500 .9rem/1 var(--sans); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--plum); background: #fff; border: 1.5px solid var(--line); border-radius: 99px; padding: 8px 13px; }
.hy-f-chip svg { width: 18px; height: 18px; color: var(--copper); }
.hy-f-chip:hover { border-color: var(--copper); }
.hy-f-chip[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.hy-f-chip[aria-pressed="true"] svg { color: var(--champ); }
.hy-f-out h4 { margin: 10px 0 8px; font: 600 .95rem/1.2 var(--sans); color: var(--plum); }
.hy-f-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.hy-f-list a { display: flex; gap: 12px; align-items: center; text-decoration: none; background: #fff; border-radius: 14px; padding: 9px 12px; box-shadow: 0 6px 16px -12px rgba(38, 17, 47, .5); color: var(--ink); }
.hy-f-list a:hover { box-shadow: inset 0 0 0 1.5px var(--copper); }
.hy-f-list .n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: #fff; background: linear-gradient(135deg, var(--copper), var(--orchid)); }
.hy-f-list b { display: block; color: var(--plum); }
.hy-f-list small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.35; }
.hy-f-skip { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
.hy-flow .hy-finder { background: linear-gradient(160deg, #fff, var(--champ-l)); border-radius: 26px; padding: 26px; margin: 26px 0; border: 10px solid var(--copper); box-shadow: var(--sh), 0 0 0 1px var(--copper-d); }

/* --------------------------------------------------------------- rail */
.hy-rail { display: flex; gap: 14px; overflow-x: auto; margin-top: -64px; padding: 6px 4px 18px; scrollbar-width: none; position: relative; z-index: 2; }
.hy-rail::-webkit-scrollbar { display: none; }
.hy-rail-item { flex: none; width: 104px; text-align: center; text-decoration: none; color: var(--plum); }
.hy-rail-item .hy-oval { width: 104px; height: 132px; }
.hy-rail-item b { display: block; margin-top: 8px; font-size: .9rem; font-weight: 600; }
.hy-oval { display: block; border-radius: 50%; overflow: hidden; background: var(--champ); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--copper), 0 14px 26px -14px rgba(38, 17, 47, .7); }
.hy-oval img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .hy-rail { justify-content: center; margin-top: -78px; } }

/* ---------------------------------------------------------- page head */
.hy-head { background: linear-gradient(180deg, var(--champ) 0%, var(--champ-l) 100%); padding: 22px 0 34px; border-bottom: 1px solid var(--line); }
.hy-head-in { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.hy-crumbs { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.hy-crumbs a { color: var(--copper-d); text-decoration: none; }
.hy-kind { display: inline-block; margin: 0 0 8px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--plum-700); border-radius: 99px; padding: 4px 11px; }
.hy-head h1 { font-size: clamp(2.1rem, 1.5rem + 3vw, 3.5rem); margin: 0 0 10px; color: var(--plum); }
.hy-head-desc { margin: 0 0 12px; color: var(--muted); max-width: 40em; }
.hy-head-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; }
.hy-head-meta li { background: #fff; border-radius: 99px; padding: 4px 12px; color: var(--plum-700); box-shadow: 0 0 0 1px var(--line); }
.hy-head-meta b { color: var(--copper-d); }
.hy-head-art { width: 132px; }
/* hand mirror: oval glass on a copper handle */
.hy-hand { display: block; position: relative; aspect-ratio: 3 / 4; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 5px #fff, 0 0 0 11px var(--copper), 0 30px 40px -24px rgba(38, 17, 47, .7); margin-bottom: 46px; overflow: visible; }
.hy-hand img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hy-hand::after { content: ""; position: absolute; left: 50%; bottom: -50px; width: 18px; height: 46px; margin-left: -9px; border-radius: 4px 4px 10px 10px; background: linear-gradient(90deg, var(--copper-d), var(--copper), var(--copper-d)); }
@media (min-width: 760px) { .hy-head { padding: 30px 0 46px; } .hy-head-art { width: 250px; } }

/* --------------------------------------------------------------- flow */
.hy-flow { padding: 26px 0 10px; }
.hy-flow p, .hy-flow li { max-width: 46em; }
.hy-intro { font-size: 1.08rem; }
.hy-intro p:first-child::first-line { font-weight: 500; color: var(--plum-700); }
.hy-jump { position: sticky; top: 72px; z-index: 20; display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none; background: rgba(255, 247, 246, .94); backdrop-filter: blur(6px); padding: 10px 2px; margin: 18px 0 8px; border-bottom: 1px solid var(--line); }
.hy-jump::-webkit-scrollbar { display: none; }
.hy-jump b { flex: none; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-d); margin-right: 4px; }
.hy-jump a { flex: none; text-decoration: none; color: var(--plum); font-size: .9rem; font-weight: 500; background: #fff; border-radius: 99px; padding: 6px 13px; box-shadow: 0 0 0 1px var(--line); }
.hy-jump a:hover { box-shadow: 0 0 0 1.5px var(--copper); }
.hy-sec { padding-top: 26px; }
.hy-sec-n { font: 400 2.6rem/1 var(--disp); color: var(--copper); margin: 0; }
.hy-sec h2 { margin: 2px 0 8px; }
.hy-grid { display: grid; gap: 18px; margin: 18px 0 8px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .hy-grid { grid-template-columns: 1fr 1fr; } .hy-grid.m2-1 > .hy-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 9px); justify-self: center; } }
@media (min-width: 1000px) {
	.hy-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
	.hy-grid.m2-1 > .hy-card:last-child { grid-column: auto; max-width: none; justify-self: stretch; }
	.hy-grid.m3-1 > .hy-card:last-child { grid-column: 2; }
	.hy-grid.m3-2 > .hy-card:nth-last-child(2) { grid-column: 1 / span 1; transform: translateX(50%); }
	.hy-grid.m3-2 > .hy-card:last-child { transform: translateX(50%); }
}

/* --------------------------------------------------------- style card */
.hy-card { margin: 0; background: #fff; border-radius: var(--r); padding: 10px 10px 16px; box-shadow: var(--sh); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.hy-card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -22px rgba(38, 17, 47, .55); }
.hy-zoom { display: block; border-radius: 16px; overflow: hidden; position: relative; background: var(--champ); }
.hy-zoom img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .35s ease; }
.hy-card:hover .hy-zoom img { transform: scale(1.03); }
.hy-zoom::after { content: ""; position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(38, 17, 47, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.hy-card figcaption { padding: 12px 6px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hy-card .cap { margin: 0; font-size: .95rem; line-height: 1.5; }
.hy-pins, .hy-flow .hy-pins { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hy-pins li { display: grid; grid-template-columns: 86px 1fr; align-items: center; max-width: none; font-size: .88rem; color: var(--ink); background: var(--champ-l); border-radius: 10px; padding: 6px 10px 6px 0; }
.hy-pins span { position: relative; padding-left: 26px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-d); }
.hy-pins span::before { content: ""; position: absolute; left: 9px; top: 50%; width: 12px; height: 3px; margin-top: -3px; background: var(--plum-700); border-radius: 3px; box-shadow: 0 5px 0 -.5px var(--plum-700); }
.hy-pins span::after { content: ""; position: absolute; left: 19px; top: 50%; width: 4px; height: 8px; margin-top: -3px; border: 1.5px solid var(--plum-700); border-left: 0; border-radius: 0 4px 4px 0; }
.hy-tip { margin: auto 0 0; font-size: .9rem; line-height: 1.45; background: linear-gradient(135deg, rgba(228, 106, 154, .1), rgba(208, 122, 90, .12)); border-radius: 12px; padding: 10px 12px; color: var(--plum-700); }
.hy-tip b { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orchid); margin-bottom: 2px; }

/* -------------------------------------------------------------- guides */
.hy-guide { margin: 34px 0 0; }
.hy-guide-first { background: #fff; border-radius: 26px; padding: 22px 22px 10px; box-shadow: var(--sh); border-top: 6px solid var(--copper); }
.hy-guide h2, .hy-faq > h2 { position: relative; padding-left: 22px; }
.hy-guide h2::before, .hy-faq > h2::before { content: ""; position: absolute; left: 0; top: .2em; width: 10px; height: .9em; border-radius: 6px; background: linear-gradient(180deg, var(--orchid), var(--copper)); }
.hy-flow ol { counter-reset: st; list-style: none; padding: 0; }
.hy-flow ol > li { counter-increment: st; position: relative; padding: 2px 0 10px 46px; }
.hy-flow ol > li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; color: var(--plum); background: var(--champ); box-shadow: inset 0 0 0 2px var(--copper); }
.hy-flow ul { padding-left: 1.1em; }
.hy-flow ul li::marker { color: var(--copper); }
.table-scroll { overflow-x: auto; margin: 14px 0 18px; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.hy-flow table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .94rem; }
.hy-flow th { background: var(--plum); color: var(--champ); text-align: left; font-weight: 600; padding: 10px 14px; }
.hy-flow td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.hy-flow tr:nth-child(even) td { background: var(--champ-l); }
.hy-faq { margin: 38px 0 10px; }
.hy-faq details { background: #fff; border-radius: 16px; margin: 10px 0; box-shadow: 0 0 0 1px var(--line); }
.hy-faq summary { list-style: none; cursor: pointer; padding: 14px 52px 14px 18px; position: relative; }
.hy-faq summary::-webkit-details-marker { display: none; }
.hy-faq summary h3 { margin: 0; font-size: 1rem; }
.hy-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; display: grid; place-items: center; background: var(--champ); color: var(--copper-d); font-weight: 700; }
.hy-faq details[open] summary::after { content: "\2212"; background: var(--plum); color: #fff; }
.hy-faq details > div { padding: 0 18px 8px; }
.hy-ad { margin: 26px 0; text-align: center; }

/* ---------------------------------------------------------- page tiles */
.hy-next { margin: 40px 0 10px; }
.hy-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 22px 16px; margin-top: 14px; }
.hy-tile { text-decoration: none; text-align: center; color: var(--plum); }
.hy-tile .hy-oval { width: 100%; aspect-ratio: 3 / 4; margin-bottom: 10px; }
.hy-tile b { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.hy-tile small { color: var(--muted); font-size: .8rem; }
.hy-tile:hover .hy-oval { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--orchid), 0 14px 26px -14px rgba(38, 17, 47, .7); }

/* ----------------------------------------------------- home directory */
.hy-home-flow { padding-top: 8px; }
.hy-dir { background: linear-gradient(180deg, var(--champ-l), var(--champ)); padding: 46px 0 56px; margin-top: 30px; }
.hy-dir-head { display: grid; gap: 8px; margin-bottom: 22px; }
.hy-dir-head h2 { font: 400 clamp(2rem, 1.6rem + 2vw, 2.8rem)/1.1 var(--disp); margin: 0; }
.hy-dir-head p { margin: 0; color: var(--muted); }
.hy-dir-search input { width: 100%; max-width: 440px; font: 500 1rem var(--sans); padding: 13px 18px 13px 44px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9573b' stroke-width='2.2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 16px 50% / 18px no-repeat; color: var(--ink); }
.hy-dir-search input:focus { border-color: var(--copper); outline: none; box-shadow: 0 0 0 4px rgba(208, 122, 90, .2); }
.hy-dir-grid { columns: 300px 3; column-gap: 18px; }
.hy-drawer { break-inside: avoid; background: #fff; border-radius: 20px; padding: 16px 16px 10px; margin-bottom: 18px; box-shadow: var(--sh); }
.hy-drawer h3 { display: flex; justify-content: space-between; align-items: center; margin: 0 0 8px; padding-bottom: 10px; border-bottom: 2px dotted var(--line); }
.hy-drawer h3 small { font-size: .78rem; color: #fff; background: var(--copper); border-radius: 99px; padding: 2px 9px; }
.hy-drawer ul { list-style: none; margin: 0; padding: 0; }
.hy-drawer a { display: flex; justify-content: space-between; gap: 10px; text-decoration: none; color: var(--ink); padding: 6px 2px; border-radius: 8px; font-size: .95rem; }
.hy-drawer a:hover { color: var(--copper-d); background: var(--champ-l); }
.hy-drawer em { font-style: normal; color: var(--muted); font-size: .8rem; white-space: nowrap; }
.hy-dir-none { color: var(--muted); }

/* ----------------------------------------------------- plain pages, blog */
.hy-plain { padding: 30px 0 40px; }
.hy-page { max-width: 760px; padding: 26px 0 40px; }
.hy-page h1 { font-size: clamp(2rem, 1.6rem + 2vw, 3rem); }
.hy-post-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.hy-post-cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.hy-post-list li { background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--sh); }
.hy-post-list a { color: var(--plum); font-weight: 600; text-decoration: none; }
.hy-post-img { border-radius: 18px; margin: 14px 0; }
.hy-post-meta { color: var(--muted); font-size: .9rem; }
.hy-pager { margin: 20px 0; }
.hy-pager .page-numbers { display: inline-block; padding: 6px 12px; border-radius: 99px; background: #fff; margin: 2px; text-decoration: none; }
.hy-pager .current { background: var(--plum); color: #fff; }

/* ------------------------------------------------------------- footer */
.hy-foot { background: var(--plum-900); color: rgba(246, 230, 210, .78); margin-top: 50px; padding: 0 0 26px; font-size: .95rem; }
.hy-comb { height: 22px; background: repeating-linear-gradient(90deg, var(--copper) 0 5px, transparent 5px 11px) 0 0 / 100% 14px no-repeat, linear-gradient(var(--copper), var(--copper)) 0 14px / 100% 8px no-repeat; opacity: .9; }
.hy-foot-top { display: grid; gap: 30px; padding: 34px 0 22px; }
.hy-foot .hy-logo { color: var(--champ); width: 210px; }
.hy-foot-brand p { max-width: 34em; }
.hy-foot-tool { display: inline-block; color: var(--plum); background: var(--champ); text-decoration: none; font-weight: 600; padding: 9px 16px; border-radius: 99px; }
.hy-foot-tool:hover { background: #fff; color: var(--plum); }
.hy-foot-h { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); margin: 0 0 10px; }
.hy-foot-groups { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.hy-foot-groups .hy-foot-h { width: 100%; }
.hy-foot .chip { color: var(--champ); text-decoration: none; border: 1px solid rgba(246, 230, 210, .25); border-radius: 99px; padding: 5px 12px; font-size: .88rem; }
.hy-foot .chip:hover { border-color: var(--copper); color: #fff; }
.hy-foot-info a { display: block; color: rgba(246, 230, 210, .85); text-decoration: none; padding: 3px 0; }
.hy-foot-info a:hover { color: #fff; }
.hy-legal { border-top: 1px solid rgba(246, 230, 210, .14); padding-top: 18px; margin: 0; font-size: .82rem; color: rgba(246, 230, 210, .6); }
@media (min-width: 900px) { .hy-foot-top { grid-template-columns: 1.3fr 1fr .7fr; } }

/* ------------------------------------------------------------- viewer */
.hy-view { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(27, 11, 34, .96); color: var(--champ); }
.hy-view[open] { display: grid; grid-template-rows: auto 1fr auto; }
.hy-view::backdrop { background: rgba(27, 11, 34, .8); }
.hy-view .bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.hy-view .close { font: 600 .95rem var(--sans); color: var(--plum); background: var(--champ); border: 0; border-radius: 99px; padding: 8px 16px; cursor: pointer; }
.hy-view .stage { display: grid; place-items: center; min-height: 0; padding: 0 12px; }
.hy-view .stage img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 16px; }
.hy-view .nav { position: fixed; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 0; background: rgba(246, 230, 210, .9); color: var(--plum); font-size: 1.3rem; cursor: pointer; }
.hy-view .prev { left: 12px; }
.hy-view .next { right: 12px; }
.hy-view .info { padding: 12px 16px 20px; max-width: 760px; margin: 0 auto; text-align: center; }
.hy-view .info p { margin: 0 0 10px; }
.hy-view .act { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hy-view .act a { color: var(--champ); border: 1px solid rgba(246, 230, 210, .35); text-decoration: none; border-radius: 99px; padding: 6px 14px; font-size: .9rem; }
.hy-view .act a:hover { border-color: var(--copper); color: #fff; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
