/*
Theme Name: The Hair Lane
Theme URI: https://thehairlane.com.au
Author: Chahwan IT
Author URI: https://chahwan.com
Description: Custom theme for The Hair Lane, Sydney hair extension specialist. Business details (ABN, address, phone, hours) are managed in Appearance > Customize > The Hair Lane.
Version: 1.1.1
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: thehairlane
*/

:root {
	--bg: #eceae4;
	--surface: #f5f3ee;
	--ink: #23211e;
	--ink-soft: #4a463f;
	--muted: #736c61;
	--line: #d3cdc1;
	--line-strong: #b9b2a5;
	--serif: "EB Garamond", Garamond, "Times New Roman", serif;
	--sans: "Jost", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1180px;
	--gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink-soft); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; background: var(--ink); color: var(--bg); padding: 10px 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-family: var(--sans); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 15px 28px;
	font-family: var(--sans); font-size: .82rem; font-weight: 500;
	letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
	border: 1px solid var(--ink); border-radius: 0;
	background: var(--ink); color: var(--bg);
	transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn svg { width: 16px; height: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Admin notice */
.thl-admin-notice { background: #fff8e1; border-bottom: 1px solid #e3cf8f; color: #5b4a12; font-size: .85rem; padding: 10px var(--gutter); text-align: center; }
.thl-admin-notice a { font-weight: 500; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand svg { width: 52px; height: auto; color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 34px; }
.primary-nav a { text-decoration: none; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
.primary-nav a:hover { text-decoration: underline; }
.primary-nav .nav-cta a { border: 1px solid var(--ink); padding: 11px 20px; }
.primary-nav .nav-cta a:hover { background: var(--ink); color: var(--bg); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 78px; background: var(--bg); border-bottom: 1px solid var(--line); }
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
	.primary-nav li { border-bottom: 1px solid var(--line); }
	.primary-nav a { display: block; padding: 16px 0; }
	.primary-nav .nav-cta { border: 0; margin-top: 16px; }
	.primary-nav .nav-cta a { text-align: center; }
}
@media (max-width: 420px) { .brand-name { font-size: .95rem; letter-spacing: .14em; } .brand svg { width: 42px; } }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section--surface { background: var(--surface); }
.section-head { max-width: 640px; margin-bottom: 56px; }

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-media { border: 1px solid var(--line); background: var(--surface); aspect-ratio: 1 / 1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-media { order: -1; max-width: 520px; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-figure { border: 1px solid var(--line); aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.about-figure .mono-fallback { width: 58%; color: var(--line-strong); }
.pull { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.3; margin: 0 0 28px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-figure { aspect-ratio: 3 / 2; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-strong); }
.service { padding: 36px 36px 36px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 20px; }
.service:nth-child(even) { padding: 36px 0 36px 36px; border-left: 1px solid var(--line); }
.service-num { font-family: var(--serif); font-size: 1.1rem; color: var(--muted); padding-top: 4px; }
.service p { color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) {
	.services { grid-template-columns: 1fr; }
	.service, .service:nth-child(even) { padding: 28px 0; border-left: 0; }
}

/* Products */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product { border: 1px solid var(--line-strong); background: var(--bg); padding: 40px; display: flex; flex-direction: column; }
.product-weight { font-family: var(--serif); font-size: 4rem; line-height: 1; margin-bottom: 16px; }
.product-weight small { font-size: 1.4rem; margin-left: 4px; }
.product h3 { margin-bottom: 12px; }
.product p { color: var(--ink-soft); }
.product ul { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); }
.product li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; display: flex; gap: 10px; align-items: center; }
.product li svg { width: 15px; height: 15px; flex: 0 0 auto; }
.product .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } .product { padding: 28px; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Visit / contact */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.detail-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.detail-list li { display: grid; grid-template-columns: 28px 110px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.detail-list svg { width: 18px; height: 18px; margin-top: 4px; }
.detail-label { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.detail-list a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.detail-list a:hover { border-color: var(--ink); }
.hours { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { width: 45%; }
.hours td { color: var(--ink-soft); text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); font-weight: 500; }
.map-frame { margin-top: 32px; border: 1px solid var(--line-strong); aspect-ratio: 16 / 10; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1); }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } .detail-list li { grid-template-columns: 28px 1fr; } .detail-label { grid-column: 2; padding: 0; } .detail-list li > :last-child { grid-column: 2; } }

/* CTA band */
.cta-band { background: var(--ink); color: var(--bg); padding: clamp(64px, 8vw, 104px) 0; text-align: center; }
.cta-band h2 { color: var(--bg); }
.cta-band p { color: #c9c3b8; max-width: 36em; margin: 0 auto; }
.cta-band .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.cta-band .btn:hover { background: transparent; color: var(--bg); }
.cta-band .btn--ghost { background: transparent; color: var(--bg); }
.cta-band .btn--ghost:hover { background: var(--bg); color: var(--ink); }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer { padding: 72px 0 32px; font-size: .92rem; color: var(--ink-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-brand > svg { width: 70px; color: var(--ink); margin-bottom: 18px; }
.footer-title { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 8px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; }
.social a:hover { border-color: var(--ink); }
.social svg { width: 18px; height: 18px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .82rem; color: var(--muted); }
.footer-legal a { text-decoration: none; margin-left: 18px; }
.footer-legal a:hover { text-decoration: underline; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-legal a { margin: 0 18px 0 0; } }

/* Generic pages */
.page-header { padding: clamp(56px, 8vw, 96px) 0 32px; border-bottom: 1px solid var(--line); }
.entry { max-width: 760px; padding: 56px 0 104px; }
.entry h2 { font-size: 1.8rem; margin-top: 1.6em; }
.entry h3 { margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.entry li { margin-bottom: .4em; }
.entry a { color: var(--ink); }

/* Price list */
.price-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 64px; }
.price-group h3 { margin-bottom: 8px; }
.price-intro { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.price-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-name { display: flex; flex-direction: column; }
.price-name small { color: var(--muted); font-size: .8rem; letter-spacing: .04em; margin-top: 2px; }
.price-amt { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; white-space: nowrap; }
.price-note { align-self: center; color: var(--muted); font-size: .88rem; }
@media (max-width: 760px) { .price-groups { grid-template-columns: 1fr; gap: 44px; } }
