/*
Theme Name: SENTIR
Theme URI: https://sentir.studio
Author: SENTIR Studio
Description: Theme một trang cho SENTIR — scent experience design. Trang chủ, Về SENTIR, Scent Experience Design, Workshop, Dự án và Liên hệ. Ảnh và thông tin liên hệ chỉnh trong Giao diện → Tùy biến → SENTIR.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sentir
*/

:root {
	--linen: #F8F4EC;
	--sand: #EFE6D8;
	--rose: #EDDCD5;
	--sage: #DFE3D3;
	--sage-ink: #4E5643;
	--sage-line: #BFC6AE;
	--umber: #3A2A20;
	--umber-dark: #2A1E17;
	--ink: #2E241D;
	--muted: #6A5849;
	--line: #DCCFBD;
	--line-soft: #E4DACB;
	--accent: #B89A86;
	--field: #A8927E;
	--serif: 'Cormorant Garamond', Georgia, serif;
	--sans: 'DM Sans', system-ui, sans-serif;
	--gutter: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--linen);
	color: var(--ink);
	font-family: var(--sans);
	-webkit-font-smoothing: antialiased;
}
a { color: var(--umber); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--muted); }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); }
.stack { display: flex; flex-direction: column; }
.center { text-align: center; align-items: center; }

/* Typography */
.eyebrow { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.serif { font-family: var(--serif); }
.italic { font-style: italic; }
.display { font-family: var(--serif); color: var(--umber); line-height: 1.02; font-size: clamp(48px, 7vw, 96px); text-wrap: balance; }
.h2 { font-family: var(--serif); font-style: italic; color: var(--umber); line-height: 1.1; font-size: clamp(36px, 4.4vw, 56px); text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.7; text-wrap: pretty; }
.body { font-size: 17px; line-height: 1.7; text-wrap: pretty; }
.small { font-size: 15px; line-height: 1.7; }

/* Buttons */
.btn {
	display: inline-block; border: 0; cursor: pointer; text-decoration: none;
	padding: 16px 32px; font-size: 15px; letter-spacing: .3px;
	background: var(--umber); color: var(--linen); transition: background .2s;
}
.btn:hover { background: var(--umber-dark); color: var(--linen); }
.btn-light { background: var(--linen); color: var(--umber); }
.btn-light:hover { background: #fff; color: var(--umber); }
.link-line { background: none; border: 0; border-bottom: 1px solid var(--umber); padding: 4px 0; font-size: 15px; color: var(--umber); cursor: pointer; text-decoration: none; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 20;
	background: rgba(248,244,236,.94); backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line-soft);
}
.admin-bar .site-header { top: 32px; }
.site-header .container { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: 8px; color: var(--umber); text-decoration: none; }
.site-nav { display: flex; gap: clamp(14px, 2.4vw, 32px); flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { font-size: 14px; color: var(--muted); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a.is-active { color: var(--umber); border-bottom-color: var(--umber); }
.nav-toggle { display: none; background: none; border: 0; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--umber); cursor: pointer; }
@media (max-width: 760px) {
	.nav-toggle { display: block; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--linen); flex-direction: column; padding: 16px var(--gutter) 24px; gap: 10px; border-bottom: 1px solid var(--line-soft); }
	.site-nav.is-open { display: flex; }
}

/* Pages (one-page routing) */
.page { display: none; }
.page.is-current { display: block; }
.no-js .page { display: block; }

/* Image slots */
.slot { position: relative; width: 100%; overflow: hidden; background: var(--sand); }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot-empty {
	display: flex; align-items: center; justify-content: center; text-align: center;
	padding: 16px; color: var(--muted); font-size: 13px; letter-spacing: .5px;
	background: repeating-linear-gradient(135deg, #EFE6D8 0 14px, #E9DFCF 14px 28px);
	width: 100%; height: 100%;
}
.r-45 { aspect-ratio: 4/5; }
.r-43 { aspect-ratio: 4/3; }
.r-1 { aspect-ratio: 1; }
.r-wide { aspect-ratio: 16/8; }
.fill { position: absolute; inset: 0; }
.fill .slot { height: 100%; }

/* Sections */
.sec { padding: clamp(88px, 11vw, 150px) 0; }
.sec-top0 { padding-top: 0; }
.bg-sand { background: var(--sand); }
.bg-rose { background: var(--rose); }
.bg-sage { background: var(--sage); }
.bg-umber { background: var(--umber); color: var(--linen); }
.bg-umber .eyebrow { color: #D9CBB8; }
.grid { display: grid; gap: 24px; }
.g-280 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.g-300 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g-360 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.g-420 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g-150 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 7vw, 96px); align-items: center; }

/* Home hero */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: var(--linen); pointer-events: none; }
.hero-inner { position: relative; text-align: center; padding: 120px 24px; max-width: 720px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero-title { font-family: var(--serif); font-size: clamp(56px, 10vw, 128px); letter-spacing: .32em; margin-right: -.32em; line-height: 1; color: var(--umber); }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 26px); color: var(--umber); letter-spacing: 1px; }
.manifesto { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.35; color: var(--umber); text-wrap: pretty; }

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.duo > div { padding: clamp(56px, 8vw, 112px) clamp(24px, 6vw, 88px); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.duo h2 { font-family: var(--serif); font-style: italic; font-size: clamp(36px, 4vw, 52px); line-height: 1.1; }
.duo p { font-size: 17px; line-height: 1.7; max-width: 460px; }
.duo .btn { margin-top: 12px; }

/* Cards */
.card-link { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; }
.card-link .name { font-family: var(--serif); font-size: 26px; color: var(--umber); line-height: 1.15; }
.card-link .type { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.num { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--accent); }
.box { background: var(--sand); padding: 40px 32px 44px; display: flex; flex-direction: column; gap: 18px; border-radius: 10px; }
.row-line { display: flex; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step { border-top: 1px solid var(--umber); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tiles > div { padding: 40px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }

/* Workshop */
.ws-hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.ws-hero-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248,244,236,0) 30%, rgba(248,244,236,.92) 82%); pointer-events: none; }
.info-row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--sage-line); }
.info-row .eyebrow { color: var(--sage-ink); padding-top: 3px; }
.journey-row { display: grid; grid-template-columns: minmax(56px, 90px) minmax(0, 1fr); gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 24px; align-items: center; font-family: var(--serif); font-size: 24px; line-height: 1.3; color: var(--umber); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--sans); font-size: 22px; font-weight: 300; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 40px 28px 0; font-size: 16px; line-height: 1.7; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field input, .field select {
	background: transparent; border: 0; border-bottom: 1px solid var(--field); border-radius: 0;
	padding: 10px 0; font-size: 17px; color: var(--ink); outline: none;
}
.field textarea { background: transparent; border: 1px solid var(--field); padding: 12px; font-size: 16px; color: var(--ink); outline: none; resize: vertical; }
.field input:focus, .field select:focus { border-bottom-color: var(--umber); }
.field textarea:focus { border-color: var(--umber); }
.who { display: flex; gap: 8px; flex-wrap: wrap; }
.who button { border: 1px solid var(--umber); padding: 12px 22px; font-size: 15px; cursor: pointer; background: transparent; color: var(--umber); }
.who button.is-on { background: var(--umber); color: var(--linen); }
.thanks { background: var(--linen); padding: 48px 40px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.bg-sand .thanks { background: var(--linen); }
.thanks-alt { background: var(--sand); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--umber); color: var(--linen); }
.site-footer .container { padding-top: clamp(64px, 8vw, 100px); padding-bottom: 32px; display: flex; flex-direction: column; gap: 56px; }
.site-footer a { color: #EFE6D8; text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid #5A473A; padding-top: 24px; font-size: 13px; color: #D9CBB8; }

/* WordPress core */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin: 0 auto 1em; }
.wp-caption, .gallery-caption { font-size: 13px; color: var(--muted); }
.sticky, .bypostauthor { }

.fs { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.fs[hidden] { display: none; }
