/* diannafi — front page. Plain CSS, prefix .dn- agar tidak bentrok dengan class lama. */

.dn-front {
	--dn-ink: #10201e;
	--dn-muted: #4e625e;
	--dn-board: #14403a;
	--dn-board-deep: #0e2f2a;
	--dn-chalk: #eaf2ef;
	--dn-pencil: #f2b632;
	--dn-paper: #f5f8f6;
	--dn-white: #ffffff;
	--dn-line: #dce5e1;
	--dn-radius: 14px;
	--dn-font-display: "Inter", "Segoe UI", system-ui, sans-serif;
	--dn-font-body: "Inter", "Segoe UI", system-ui, sans-serif;

	font-family: var(--dn-font-body);
	color: var(--dn-ink);
	background: var(--dn-white);
	line-height: 1.65;
	font-size: 1.0625rem;
}

.dn-front *,
.dn-front *::before,
.dn-front *::after { box-sizing: border-box; }

.dn-front h1,
.dn-front h2,
.dn-front h3 {
	font-family: var(--dn-font-display);
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0;
	color: var(--dn-ink);
}
.dn-front p { margin: 0; }
.dn-front a { color: inherit; }
.dn-front ul { margin: 0; padding: 0; list-style: none; }

.dn-front a:focus-visible,
.dn-front button:focus-visible {
	outline: 3px solid var(--dn-pencil);
	outline-offset: 3px;
	border-radius: 6px;
}

.dn-wrap {
	width: min(1180px, calc(100% - 2.5rem));
	margin-inline: auto;
}

.dn-section { padding-block: clamp(4rem, 8vw, 7rem); }
.dn-section--tint { background: var(--dn-paper); }

.dn-head {
	max-width: 40rem;
	margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.dn-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.dn-head p { margin-top: 0.85rem; color: var(--dn-muted); }

.dn-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.85rem 1.4rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.98rem;
	text-decoration: none;
	border: 2px solid transparent;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.dn-front .dn-btn--primary { background: var(--dn-board); color: #fff; }
.dn-front .dn-btn--primary:hover { background: var(--dn-board-deep); }
.dn-front .dn-btn--ghost { border-color: var(--dn-line); background: #fff; color: var(--dn-ink); }
.dn-front .dn-btn--ghost:hover { border-color: var(--dn-board); }
.dn-front .dn-btn--pencil { background: var(--dn-pencil); color: var(--dn-ink); }
.dn-front .dn-btn--pencil:hover { background: #ffc94d; }

.dn-hero {
	position: relative;
	padding-block: clamp(3.5rem, 7vw, 6rem) 0;
	background-color: var(--dn-paper);
	background-image: repeating-linear-gradient(
		to bottom,
		transparent 0,
		transparent 35px,
		rgba(20, 64, 58, 0.07) 35px,
		rgba(20, 64, 58, 0.07) 36px
	);
	border-bottom: 1px solid var(--dn-line);
	overflow: hidden;
}
.dn-hero__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.dn-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.9rem;
	margin-bottom: 1.4rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--dn-line);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--dn-board);
}
.dn-hero__badge i { color: var(--dn-board); }
.dn-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); max-width: 14ch; }
.dn-hero__lead {
	margin-top: 1.4rem;
	max-width: 34rem;
	color: var(--dn-muted);
	font-size: 1.15rem;
}
.dn-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.dn-board {
	position: relative;
	background: var(--dn-board);
	color: var(--dn-chalk);
	border: 10px solid #c8a46a;
	border-radius: 10px;
	padding: 1.6rem 1.6rem 1.4rem;
	box-shadow: 0 24px 40px -24px rgba(14, 47, 42, 0.55);
}
.dn-board::after {
	content: "";
	position: absolute;
	left: 10%;
	right: 10%;
	bottom: -22px;
	height: 10px;
	background: #b08a52;
	border-radius: 0 0 6px 6px;
}
.dn-board__title {
	font-family: var(--dn-font-display);
	font-size: 1.25rem;
	color: #fff;
	padding-bottom: 0.9rem;
	margin-bottom: 0.4rem;
	border-bottom: 1px dashed rgba(234, 242, 239, 0.35);
}
.dn-front .dn-board__title { color: #fff; }
.dn-board__item {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.85rem 0;
	border-bottom: 1px dashed rgba(234, 242, 239, 0.18);
}
.dn-board__item:last-child { border-bottom: 0; }
.dn-board__icon {
	flex: none;
	width: 2.5rem;
	height: 2.5rem;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--dn-pencil);
	color: var(--dn-board-deep);
	font-size: 1.25rem;
}
.dn-board__item strong { display: block; font-weight: 600; color: #fff; line-height: 1.3; }
.dn-board__item div > span { font-size: 0.88rem; opacity: 0.75; }

.dn-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: clamp(3.5rem, 6vw, 5rem);
	border-top: 1px solid var(--dn-line);
	background: #fff;
}
.dn-stats__item { padding: 1.5rem 1.25rem; border-right: 1px solid var(--dn-line); }
.dn-stats__item:last-child { border-right: 0; }
.dn-stats__item strong {
	display: block;
	font-family: var(--dn-font-display);
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	line-height: 1;
}
.dn-stats__item span { font-size: 0.92rem; color: var(--dn-muted); }

.dn-about {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.dn-portrait {
	aspect-ratio: 4 / 5;
	border-radius: var(--dn-radius);
	overflow: hidden;
	background: var(--dn-board);
	display: grid;
	place-items: center;
	position: relative;
}
.dn-portrait img { width: 100%; height: 100%; object-fit: cover; }
.dn-portrait__icon {
	font-family: var(--dn-font-display);
	font-size: clamp(4rem, 9vw, 6.5rem);
	color: var(--dn-pencil);
}
.dn-about h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.dn-about p { margin-top: 1rem; color: var(--dn-muted); max-width: 38rem; }
.dn-facts {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem 2rem;
	margin: 2rem 0 0;
	padding-top: 1.75rem;
	border-top: 1px solid var(--dn-line);
}
.dn-facts dt { font-size: 0.88rem; color: var(--dn-muted); }
.dn-facts dd { margin: 0.15rem 0 0; font-weight: 600; }

.dn-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
.dn-card {
	--c: var(--dn-board);
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--dn-line);
	border-top: 4px solid var(--c);
	border-radius: var(--dn-radius);
	padding: 1.75rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.dn-card:hover { box-shadow: 0 14px 30px -20px rgba(16, 32, 30, 0.35); }
.dn-card__icon {
	width: 3rem;
	height: 3rem;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--dn-board);
	color: #fff;
	font-size: 1.5rem;
	margin-bottom: 1.25rem;
}
.dn-card__tag { font-size: 0.9rem; font-weight: 600; color: var(--c); }
.dn-card h3 { font-size: 1.3rem; margin-top: 0.3rem; }
.dn-card p { margin-top: 0.7rem; color: var(--dn-muted); font-size: 0.98rem; }
.dn-card__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-top: auto;
	padding-top: 1.4rem;
	font-size: 0.9rem;
	color: var(--dn-muted);
}
.dn-link { font-weight: 600; text-decoration: none; color: var(--dn-board); }
.dn-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.dn-kit {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--dn-line);
	border-radius: var(--dn-radius);
	background: #fff;
	overflow: hidden;
}
.dn-kit__col { padding: 2rem; border-right: 1px solid var(--dn-line); }
.dn-kit__col:last-child { border-right: 0; }
.dn-kit__col h3 { font-size: 1.3rem; margin-bottom: 1.1rem; }
.dn-kit__col li {
	display: flex;
	gap: 0.7rem;
	align-items: baseline;
	padding: 0.4rem 0;
	color: var(--dn-muted);
}
.dn-kit__col li i { color: var(--dn-board); font-size: 0.85rem; }

.dn-rows { border-top: 1px solid var(--dn-line); }
.dn-row {
	display: grid;
	grid-template-columns: 9rem 1fr auto;
	gap: 1.5rem;
	align-items: center;
	padding: 1.4rem 0;
	border-bottom: 1px solid var(--dn-line);
}
.dn-pill {
	justify-self: start;
	padding: 0.25rem 0.8rem;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
	background: var(--dn-chalk);
	color: var(--dn-board);
}
.dn-row h3 { font-size: 1.15rem; }
.dn-row p { margin-top: 0.25rem; color: var(--dn-muted); font-size: 0.98rem; }

.dn-news article { border-top: 3px solid var(--dn-ink); padding-top: 1.1rem; }
.dn-news time { font-size: 0.9rem; color: var(--dn-muted); }
.dn-news h3 { font-size: 1.3rem; margin-top: 0.4rem; }
.dn-news p { margin-top: 0.7rem; color: var(--dn-muted); font-size: 0.98rem; }
.dn-news .dn-link { display: inline-block; margin-top: 1rem; }

.dn-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.dn-tile {
	position: relative;
	min-height: 19rem;
	border: 1px solid rgba(16, 32, 30, 0.08);
	border-radius: 1.25rem;
	overflow: hidden;
	background: linear-gradient(145deg, #1b514a 0%, #0e2f2a 100%);
	display: flex;
	align-items: flex-end;
	text-decoration: none;
	isolation: isolate;
	box-shadow: 0 8px 24px rgba(16, 32, 30, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dn-tile::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 26, 23, 0.02) 15%, rgba(8, 26, 23, 0.94) 100%);
	content: "";
}
.dn-front a.dn-tile,
.dn-front a.dn-tile:visited { color: #fff; }
.dn-front a.dn-tile:hover { color: #fff; }
.dn-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 32px rgba(16, 32, 30, 0.2); }
.dn-tile:focus-visible { outline: 3px solid var(--dn-pencil); outline-offset: 4px; }
.dn-tile--community { background: linear-gradient(145deg, #245d77 0%, #12374a 100%); }
.dn-tile img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dn-tile__icon {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	display: grid;
	width: 3.25rem;
	height: 3.25rem;
	place-items: center;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(8, 26, 23, 0.72);
	color: var(--dn-pencil);
	font-size: 1.35rem;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(8px);
}
.dn-tile__caption {
	position: relative;
	width: 100%;
	display: grid;
	gap: 0.75rem;
	padding: 4rem 1.4rem 1.4rem;
}
.dn-tile__caption strong {
	display: block;
	max-width: 24ch;
	color: #fff;
	font-family: var(--dn-font-display);
	font-size: clamp(1.1rem, 1.5vw, 1.3rem);
	font-weight: 700;
	line-height: 1.3;
	text-wrap: balance;
}
.dn-tile__caption > span:first-child {
	width: fit-content;
	padding: 0.35rem 0.65rem;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	background: rgba(8, 26, 23, 0.62);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.2;
}
.dn-tile__action {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	width: fit-content;
	color: #f8d978;
	font-size: 0.88rem;
	font-weight: 600;
}
.dn-tile__action i { transition: transform 0.2s ease; }
.dn-tile:hover .dn-tile__action i { transform: translateX(4px); }

.dn-file {
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	gap: 1.25rem;
	align-items: center;
	padding: 1.25rem 1.5rem;
	background: #fff;
	border: 1px solid var(--dn-line);
	border-radius: var(--dn-radius);
}
.dn-file + .dn-file { margin-top: 0.85rem; }
.dn-file--no-attachment { grid-template-columns: auto 1fr; }
.dn-file__icon {
	width: 2.9rem;
	height: 2.9rem;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--dn-chalk);
	color: var(--dn-board);
	font-size: 1.15rem;
}
.dn-file h3 { font-size: 1.1rem; }
.dn-file p { color: var(--dn-muted); font-size: 0.95rem; }
.dn-file__type { font-size: 0.85rem; font-weight: 600; color: var(--dn-muted); }

.dn-contact {
	background: var(--dn-board);
	color: var(--dn-chalk);
	padding-block: clamp(4rem, 8vw, 6.5rem);
}
.dn-contact__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.dn-contact h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.9rem); max-width: 18ch; }
.dn-contact p { margin-top: 1rem; max-width: 34rem; opacity: 0.85; }
.dn-contact .dn-btn { margin-top: 2rem; }
.dn-contact__list { display: grid; gap: 1rem; }
.dn-contact__list a {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.15rem 1.3rem;
	border: 1px solid rgba(234, 242, 239, 0.22);
	border-radius: var(--dn-radius);
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s;
}
.dn-contact__list a:hover { background: rgba(234, 242, 239, 0.08); border-color: var(--dn-pencil); }
.dn-contact__list i { color: var(--dn-pencil); font-size: 1.3rem; width: 1.6rem; text-align: center; }
.dn-contact__list strong { display: block; color: #fff; line-height: 1.3; }
.dn-contact__list span { font-size: 0.92rem; opacity: 0.8; }
.dn-contact__address {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.15rem 1.3rem;
	border: 1px solid rgba(234, 242, 239, 0.22);
	border-radius: var(--dn-radius);
}
.dn-contact__address i { color: var(--dn-pencil); font-size: 1.3rem; width: 1.6rem; text-align: center; }
.dn-contact__address strong { display: block; color: #fff; line-height: 1.3; }
.dn-contact__address span { font-size: 0.92rem; opacity: 0.8; }
.dn-empty {
	grid-column: 1 / -1;
	padding: 1.25rem;
	border: 1px dashed var(--dn-line);
	border-radius: var(--dn-radius);
	color: var(--dn-muted);
	background: var(--dn-paper);
}

@media (prefers-reduced-motion: no-preference) {
	.dn-hero__copy > *,
	.dn-board { animation: dn-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
	.dn-hero__copy > :nth-child(2) { animation-delay: 0.08s; }
	.dn-hero__copy > :nth-child(3) { animation-delay: 0.16s; }
	.dn-hero__copy > :nth-child(4) { animation-delay: 0.24s; }
	.dn-board { animation-delay: 0.2s; }
}
@keyframes dn-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
	.dn-hero__grid,
	.dn-about,
	.dn-contact__grid { grid-template-columns: 1fr; }
	.dn-grid-3,
	.dn-kit { grid-template-columns: 1fr; }
	.dn-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dn-kit__col { border-right: 0; border-bottom: 1px solid var(--dn-line); }
	.dn-kit__col:last-child { border-bottom: 0; }
	.dn-portrait { max-width: 20rem; aspect-ratio: 1; }
	.dn-stats { grid-template-columns: repeat(2, 1fr); }
	.dn-stats__item:nth-child(2) { border-right: 0; }
	.dn-stats__item:nth-child(-n + 2) { border-bottom: 1px solid var(--dn-line); }
	.dn-board { margin-bottom: 1.5rem; }
}
@media (max-width: 640px) {
	.dn-tiles { grid-template-columns: 1fr; }
	.dn-tile { min-height: 15rem; }
	.dn-row { grid-template-columns: 1fr; gap: 0.6rem; }
	.dn-file { grid-template-columns: auto 1fr; }
	.dn-file__type { display: none; }
	.dn-file .dn-btn { grid-column: 1 / -1; justify-content: center; }
	.dn-facts { grid-template-columns: 1fr; }
}
