:root { --ink:#173940; --paper:#f7e9c9; --muted:#527078; --line:#d7bd89; --coral:#d9554d; --aqua:#38a999; --yellow:#f2b934; --pink:#efa39b; --card:#fffaf0; --deep-coral:#a93f3d; }
* { box-sizing:border-box; } html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background-color:var(--paper); background-image:radial-gradient(rgba(163,114,50,.26) .8px,transparent .8px),linear-gradient(115deg,rgba(255,255,255,.3),transparent 33%,rgba(229,186,107,.13)); background-size:14px 14px,auto; font-family:"DM Sans",sans-serif; }
.wrap { width:min(1120px,calc(100% - 48px)); margin-inline:auto; }.nav { height:94px; display:flex; justify-content:space-between; align-items:center; }
.brand { color:var(--ink); text-decoration:none; font:400 27px/1 "Pacifico",cursive; letter-spacing:-1px; }.brand-mark { display:inline-grid; place-items:center; width:30px; height:30px; margin-right:6px; border-radius:50%; background:var(--coral); color:white; font:700 17px/1 "DM Sans",sans-serif; box-shadow:3px 3px 0 #d65f5a; transform:rotate(-7deg); }.nav-link { color:var(--ink); font-size:13px; font-weight:700; text-decoration:none; border-bottom:2px solid var(--coral); padding-bottom:3px; }.nav-link span { margin-left:5px; }
.hero { padding:31px 0 48px; }.eyebrow { display:flex; align-items:center; gap:9px; color:#536263; font:500 12px/1 "DM Mono",monospace; letter-spacing:.08em; text-transform:uppercase; }.eyebrow > span:empty { width:9px; height:9px; border-radius:50%; background:var(--coral); }
h1,h2 { margin:18px 0 16px; font-family:"Righteous",sans-serif; font-weight:400; letter-spacing:-.035em; } h1 { max-width:800px; font-size:clamp(3.3rem,7.7vw,6.7rem); line-height:.95; text-shadow:4px 4px 0 var(--pink); } h1 em { color:var(--coral); font-style:normal; }.intro { max-width:545px; margin:0; color:var(--muted); font-size:18px; line-height:1.55; }
.converter-wrap { margin-top:17px; }.category-tabs { display:flex; gap:4px; flex-wrap:wrap; padding-left:9px; }.tab { border:0; background:transparent; color:#657274; cursor:pointer; padding:13px 16px 12px; border-radius:14px 14px 0 0; font:700 14px/1 "DM Sans",sans-serif; }.tab:hover { color:var(--ink); }.tab.active { color:var(--ink); background:var(--card); }
.converter-card { position:relative; overflow:hidden; background:var(--card); border:2px solid var(--ink); border-radius:20px; padding:34px 39px 28px; box-shadow:7px 7px 0 var(--aqua); }.converter-card::before { content:""; position:absolute; inset:0 0 auto; height:7px; background:linear-gradient(90deg,var(--coral) 0 32%,var(--yellow) 32% 65%,var(--aqua) 65%); }.converter-card::after { content:"✦  ✦  ✦"; position:absolute; top:16px; right:21px; color:var(--yellow); font-size:12px; letter-spacing:4px; }.conversion-label { display:flex; align-items:center; gap:8px; font:500 12px/1 "DM Mono",monospace; text-transform:uppercase; color:#5d6e6e; letter-spacing:.05em; }.pulse { width:8px; height:8px; border-radius:50%; background:var(--coral); box-shadow:0 0 0 4px #fbe2dc; }
.fields { display:grid; grid-template-columns:1fr 47px 1fr; align-items:end; gap:14px; margin-top:22px; }.field > span { display:block; margin:0 0 10px 2px; color:#6a7675; font:500 12px/1 "DM Mono",monospace; text-transform:uppercase; }.control-row { display:grid; grid-template-columns:1fr 150px; overflow:hidden; border:2px solid var(--line); border-radius:11px; background:white; transition:border-color .2s; }.control-row:focus-within { border-color:var(--coral); box-shadow:0 0 0 3px #fce3dc; } input,select,output { min-width:0; border:0; background:transparent; color:var(--ink); font-family:"DM Sans",sans-serif; } input { width:100%; padding:17px 16px; font-size:25px; font-weight:600; outline:0; } select { cursor:pointer; padding:0 9px; border-left:1px solid var(--line); outline:0; font-size:14px; font-weight:600; } output { display:flex; align-items:center; padding:17px 16px; min-height:61px; background:#e6f4e9; font-size:25px; font-weight:600; overflow:auto; }.result-field .control-row { border-color:#94cdbf; }.result-field select { background:white; }
.swap { width:42px; height:42px; margin-bottom:10px; border:2px solid var(--ink); border-radius:50%; background:var(--yellow); color:var(--ink); box-shadow:3px 3px 0 var(--ink); cursor:pointer; font-size:21px; transition:transform .25s,background .2s; }.swap:hover { transform:rotate(180deg) translate(1px,1px); background:var(--coral); }.formula { margin-top:23px; padding-top:19px; border-top:1px dashed #d8c8ad; color:#667373; font:13px/1.4 "DM Mono",monospace; }
.popular { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:17px 2px 0; color:#6a7675; font:12px "DM Mono",monospace; }.popular button { border:1px solid #d6c5ac; border-radius:20px; padding:6px 10px; background:#fffaf0; color:#526160; cursor:pointer; font:500 12px "DM Mono",monospace; }.popular button:hover { border-color:var(--coral); color:#b74d3a; background:#fff0e9; }
.ad-slot { display:grid; place-items:center; min-height:104px; margin-top:28px; border:1px dashed #d8c7aa; border-radius:13px; color:#9a8874; background:rgba(255,253,246,.45); text-align:center; }.ad-slot span { font:500 10px/1 "DM Mono",monospace; text-transform:uppercase; letter-spacing:.13em; }.ad-slot div { margin-top:7px; font-size:12px; }.ad-disclosure { max-width:560px; margin:7px 14px 0; color:#7b796e; font-size:10px; line-height:1.45; }.ad-disclosure a { color:#71624d; text-decoration:underline; text-underline-offset:2px; }.ad-footer { min-height:90px; margin-bottom:30px; }.ad-footer div { display:none; }
.guide { display:grid; grid-template-columns:280px 1fr; gap:72px; padding:142px 0 115px; }.guide h2 { font-size:48px; line-height:1; }.guide-heading p { color:var(--muted); line-height:1.55; }.reference-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:17px; }.reference-card { position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:space-between; min-height:218px; border:2px solid var(--ink); border-radius:18px; background:var(--card); box-shadow:5px 5px 0 rgba(24,61,69,.22); }.card-head { display:flex; align-items:center; gap:12px; padding:17px 19px 15px; border-bottom:2px solid var(--ink); }.card-details { padding:13px 20px 16px; }.coral .card-head { background:var(--coral); color:#fffaf0; }.blue .card-head { background:var(--aqua); }.yellow .card-head { background:var(--yellow); }.icon { display:grid; place-items:center; width:31px; height:31px; border:2px solid currentColor; border-radius:50%; font:600 20px "DM Mono",monospace; }.reference-card h3 { margin:0; font:400 18px/1 "Righteous",sans-serif; letter-spacing:.01em; }.reference-card p { margin:7px 0; font-size:13px; color:#435250; }.reference-card strong { color:var(--ink); }.thermometer { position:absolute; z-index:2; width:90px; right:-14px; top:40px; transform:rotate(8deg); filter:drop-shadow(3px 3px 0 rgba(24,61,69,.16)); }.temperature-card .temp-copy { position:relative; z-index:1; }.temperature-card .card-head { padding-right:78px; }
footer { display:flex; align-items:center; gap:18px; justify-content:space-between; padding:20px 0 25px; border-top:1px solid var(--line); color:#697575; font:12px "DM Mono",monospace; } footer a { color:#697575; }.footer-links { display:flex; gap:14px; }.footer-brand { display:block; width:54px; height:54px; }.footer-brand img { display:block; width:100%; height:100%; object-fit:contain; }.policy { max-width:720px; padding:70px 0 100px; }.policy .brand { display:inline-block; margin-bottom:70px; }.policy h1 { font-size:clamp(3rem,7vw,5.4rem); }.policy h2 { margin-top:52px; font-size:31px; }.policy p,.policy li { color:#526266; font-size:17px; line-height:1.7; }.policy ul { padding-left:23px; }.policy a:not(.brand) { color:var(--deep-coral); }.legal-note { margin:30px 0; padding:15px 17px; border-left:4px solid var(--yellow); border-radius:0 10px 10px 0; background:#fff2cf; color:#526266; font-size:14px; line-height:1.55; }.policy .page-links { display:flex; gap:17px; margin-top:40px; }
@media (max-width:720px) { .wrap { width:min(100% - 32px,1120px); }.nav { height:74px; }.hero { padding:30px 0 33px; }.converter-card { padding:25px 18px 21px; box-shadow:5px 5px 0 var(--aqua); }.converter-card::after { display:none; }.category-tabs { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); padding-left:0; gap:0; }.tab { min-width:0; padding:11px 2px; font-size:11px; white-space:nowrap; }.fields { grid-template-columns:1fr; gap:13px; }.swap { justify-self:center; margin:0; transform:rotate(90deg); }.swap:hover { transform:rotate(270deg); }.control-row { grid-template-columns:1fr 132px; }.guide { grid-template-columns:1fr; gap:25px; padding:88px 0 76px; }.guide h2 { font-size:40px; }.reference-grid { grid-template-columns:1fr; }.reference-card { min-height:auto; }.popular { gap:7px; }.popular span { width:100%; margin-bottom:2px; }.thermometer { width:100px; right:4px; top:8px; } }

/* Mid-century measurement-service details */
.brand { display:flex; align-items:center; }
.nav { height:180px; }
.metric-flip-brand { --red-arrow-orbit-scale:.58; position:relative; isolation:isolate; display:block; width:224px; height:144px; margin:0; transform:none; }
.metric-flip-brand::before,.metric-flip-brand::after { content:""; position:absolute; z-index:-1; pointer-events:none; border-radius:50%; }
.metric-flip-brand::before { width:78%; height:16%; left:11%; bottom:2%; background:rgba(10,43,49,.32); filter:blur(7px); transform:translateY(7px); }
.metric-flip-brand::after { inset:8% 23%; background:radial-gradient(circle at 31% 23%,rgba(255,255,255,.62) 0 3%,rgba(255,255,255,.14) 13%,transparent 33%); mix-blend-mode:screen; opacity:.8; }
.metric-flip-brand img,.footer-brand img { display:block; width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 2px 0 rgba(255,250,240,.76)) drop-shadow(0 8px 8px rgba(10,43,49,.34)); }
.metric-flip-brand img { position:absolute; inset:0; }
.metric-flip-arrow-canvas { position:absolute; z-index:1; top:0; bottom:0; left:50%; width:auto; aspect-ratio:1; transform:translateX(-50%); pointer-events:none; }
.metric-flip-arrow-canvas .metric-flip-red-arrow { position:absolute; inset:0; z-index:1; width:100%; height:100%; pointer-events:none; transform-origin:center; will-change:transform; }
.eyebrow .unit-arrow { display:inline-grid; place-items:center; min-width:25px; height:20px; margin:0 2px; border-radius:99px; background:var(--coral); color:#fffaf0; font:700 17px/1 Arial,sans-serif; letter-spacing:0; text-transform:none; box-shadow:2px 2px 0 var(--deep-coral); }
.converter-eyebrow .eyebrow-copy { display:inline-flex; align-items:center; }.converter-eyebrow .eyebrow-start::before { content:""; width:9px; height:9px; margin-right:9px; flex:0 0 auto; border-radius:50%; background:var(--coral); box-shadow:0 0 0 4px #f5d2c4; }
.reference-card { min-height:236px; }
.card-details { position:relative; z-index:1; }
.reference-illustration { position:absolute; z-index:0; pointer-events:none; object-fit:contain; filter:drop-shadow(2px 3px 0 rgba(24,61,69,.12)); }
.length-card .card-details,.weight-card .card-details,.temperature-card .card-details { padding-right:114px; }
.length-illustration { width:118px; right:6px; bottom:6px; transform:rotate(-7deg); }
.weight-illustration { width:108px; right:5px; bottom:3px; }
.temperature-card .card-head { padding-right:19px; }
.thermometer { width:106px; right:4px; top:auto; bottom:0; transform:rotate(0deg); }
.brand small { align-self:flex-end; margin:0 0 1px 11px; color:var(--coral); font:500 8px/1 "DM Mono",monospace; letter-spacing:.1em; text-transform:uppercase; }
.brand-mark { box-shadow:3px 3px 0 var(--deep-coral); }
.hero { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 285px; gap:48px; align-items:end; }
.eyebrow span { box-shadow:0 0 0 4px #f5d2c4; }
.hero-notes { display:flex; flex-wrap:wrap; gap:9px; margin-top:24px; }
.hero-notes span { border:1px solid #caae73; border-radius:99px; padding:6px 10px; background:rgba(255,250,240,.55); color:#526664; font:500 10px/1 "DM Mono",monospace; text-transform:uppercase; letter-spacing:.025em; }
.hero-poster { position:relative; isolation:isolate; overflow:hidden; min-height:286px; padding:28px 25px 22px; border:2px solid var(--ink); border-radius:52% 48% 18px 20% / 16% 18% 13px 15%; background:var(--coral); color:#fff9e9; box-shadow:8px 8px 0 var(--ink),13px 13px 0 var(--yellow); }
.hero-poster::before { content:""; position:absolute; z-index:-1; width:230px; height:230px; right:-87px; top:49px; border:19px solid var(--yellow); border-radius:50%; }
.hero-poster::after { content:""; position:absolute; z-index:-1; width:151px; height:151px; left:-60px; bottom:-73px; border:15px solid var(--aqua); border-radius:50%; }
.hero-poster p,.hero-poster b { margin:0; font:500 10px/1 "DM Mono",monospace; letter-spacing:.12em; text-transform:uppercase; }
.hero-poster strong { display:block; margin-top:18px; font:400 clamp(2.4rem,4.5vw,3.65rem)/.84 "Righteous",sans-serif; letter-spacing:-.05em; text-shadow:3px 3px 0 var(--deep-coral); }
.hero-poster strong i { color:var(--yellow); font-style:normal; }
.poster-rule { display:flex; align-items:center; gap:0; margin:26px 0 21px; width:100%; border:2px solid var(--ink); border-radius:5px; background:#fff9e9; color:var(--ink); box-shadow:3px 3px 0 var(--ink); }
.poster-rule span { display:grid; place-items:center; width:25%; height:32px; border-right:1px solid #d7bd89; font:500 11px/1 "DM Mono",monospace; }.poster-rule span:last-child { border:0; }
.poster-star { position:absolute; color:var(--yellow); font-size:19px; }.star-one { right:25px; top:21px; }.star-two { right:54px; top:53px; font-size:12px; }
.corner-label { position:absolute; top:16px; right:22px; color:#7e8780; font:500 9px/1 "DM Mono",monospace; letter-spacing:.12em; }.card-corner { position:absolute; display:grid; place-items:center; right:-15px; bottom:-24px; width:83px; height:83px; border:2px solid rgba(24,61,69,.12); border-radius:50%; color:rgba(24,61,69,.26); font:400 27px/1 "Righteous",sans-serif; }
.guide { position:relative; }.guide::before { content:""; position:absolute; width:76px; height:16px; left:0; top:111px; border-block:2px solid var(--ink); background:repeating-linear-gradient(90deg,var(--coral) 0 16px,var(--yellow) 16px 32px,var(--aqua) 32px 48px); }
@media (max-width:980px) { .metric-flip-brand { --red-arrow-orbit-scale:.62; } }
@media (max-width:720px) { .brand small { display:none; }.nav { height:130px; }.metric-flip-brand { --red-arrow-orbit-scale:.68; width:160px; height:100px; margin:0; transform:none; }.footer-brand { width:48px; height:48px; }.reference-card { min-height:218px; }.length-card .card-details,.weight-card .card-details,.temperature-card .card-details { padding-right:128px; }.length-illustration { width:138px; right:9px; bottom:5px; }.weight-illustration { width:122px; right:6px; bottom:1px; }.thermometer { width:116px; right:5px; bottom:0; }.hero { display:block; padding-bottom:14px; }.hero-poster { display:none; }.converter-wrap { margin-top:0; }.corner-label { display:none; }.guide::before { top:57px; } }
@media (max-width:720px) { .converter-eyebrow { display:grid; grid-template-columns:minmax(0,1fr) 25px minmax(0,1fr); gap:6px; width:100%; font-size:10px; letter-spacing:.035em; }.converter-eyebrow .eyebrow-copy { justify-content:center; white-space:nowrap; }.converter-eyebrow .eyebrow-start { justify-content:flex-start; }.converter-eyebrow .eyebrow-start::before { width:8px; height:8px; margin-right:6px; box-shadow:0 0 0 3px #f5d2c4; }.eyebrow .unit-arrow { margin:0; min-width:25px; } }
@media (max-width:720px) { .hero-notes { justify-content:center; }.hero-notes span:nth-child(3) { display:none; }.popular { justify-content:center; text-align:center; } }
